I’ve got a few sites right now that I’m experiencing some issues with. I’m going to guess they both deal with an add-on, but can’t tell what the best way is to troubleshoot.
Site 1: Usually when I first log in, I get a long string of PHP errors, such as
A PHP Error was encountered
Severity: Warning
Message: array_unique() expects parameter 1 to be array, null given
Filename: models/addons_model.php
Line Number: 145
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: plugin_info
Filename: models/addons_model.php
Line Number: 183
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at \codeigniter\system\core\Exceptions.php:170)
Filename: core/Common.php
Line Number: 412When this happens, some of the sub-menu items are missing, like I can’t see Custom Fields under Admin->Channel Administration, but I can see Categories. All I have to do is refresh the page, and the errors are gone and everything is fine. Mainly just a nuisance at this point - I think.
SITE 2: This site doesn’t show any errors, but just redirects you to the home page of the site, even though the URL still shows the correct link in to where you wanted to go in the CP. Strange.
Anyway, I wasn’t sure if there was a good way to start troubleshooting? Site 1 uses quite a few add-ons (which I do my very best at keeping updated) and Site 2 uses a handful.
Thanks for any tips!
Todd