Bug #22819 Bug Fixed

Add-on manager cannot see add-ons

Version: 3.4.5 Reporter: Peter Stalker

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

From the Control Panel, Developer/Add-on manager only returns:

“No Add-Ons Found”, for any status.

The add-ons are still there, since they can be accessed using,

[site url]/admin.php?/cp/addons/settings/[add-on name]

But I cannot get the list. This is still working correctly on sites using 3.4.4 and earlier

  • This is a result of an improper PDO configuration on the server, that causes data types in the database to be converted to strings. e.g. an int column in MySQL returns string data in PHP. This can cause typed conditionals and operations to unexpectedly fail. In this particular instance, loose-type comparison is still fine, so it can be fixed without addressing the server issue in system/ee/EllisLab/ExpressionEngine/Controller/Addons/Addons.php line 214 by changing:

    if (ee()->session->userdata('group_id') !== 1)

    to:

    if (ee()->session->userdata('group_id') != 1)
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases