We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Addons.php keeps looking for uninstalled add-on that has been deleted.

How Do I?

studionigh's avatar
studionigh
15 posts
4 years ago
studionigh's avatar studionigh

I tried to update from 6.0.1 to 6.0.2 and ran into this error, “Dashboard Analytics” add on was uninstalled and deleted but there is a reference still there. Here is the error:

Call to a member function hasModule() on null
ee/ExpressionEngine/Controller/Addons/Addons.php:927
Stack Trace: Please include when reporting this error

0 ee/ExpressionEngine/Controller/Addons/Addons.php(699): ExpressionEngine\Controller\Addons\Addons->getModule('dashboard_analy...')
1 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings('dashboard_analy...', 'display')
2 ee/ExpressionEngine/Core/Core.php(251): call_user_func_array(Array, Array)
3 ee/ExpressionEngine/Core/Core.php(111): ExpressionEngine\Core\Core->runController(Array)
4 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
5 public_html/admin.php(144): require_once('...')
5 public_html/admin.php(144): require_once('...')

the add-on dashboard analytics have been uninstalled and all files have been deleted prior to upgrading to 6.0.2. I am locked out of the CP, and I am looking for a way to delete any reference to the uninstalled plugin.

       
Tom Jaeger's avatar
Tom Jaeger
228 posts
4 years ago
Tom Jaeger's avatar Tom Jaeger

Hi Studionigh,

Thanks for getting in-touch about this. I would recommend taking a peek in your exp_extensions table to see if there might be a row in there for that add-on still.

I would also confirm the folder is removed from addons folder. If it’s in there, or renamed in the folder the system will try to auto load it and throw an error as a whole.

Thanks, -Tom Jaeger

       
RK311y's avatar
RK311y
7 posts
4 years ago
RK311y's avatar RK311y

In addition to the exp_extensions tables, the exp_modules table also stores name references to addons

       
studionigh's avatar
studionigh
15 posts
4 years ago
studionigh's avatar studionigh

As it turns out, upon tuning off and uninstalling Dashboard Analytics, it did not delete the custom role settings for the super-admin role. I went into the exp_role_settings table and changed cp_homepage = NULL and cp_homepage_custom to NULL. Now it works as expected.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.