Tyssen Posted April 27, 2023 Share Posted April 27, 2023 When changing PHP from 7.4 to 8.0 I get this error pointing to line 1155 of TraceyDebugger.module.php: if(in_array('titlePrefix', $this->data['styleAdminType'])) Opening the call stack says that $haystack = 'default'. I'm running PW 3.0.210 with Tracy 4.24.3. Not sure whether this is a problem with the module itself or something else in the site. Link to comment Share on other sites More sharing options...
Tyssen Posted April 27, 2023 Author Share Posted April 27, 2023 I should mention that I get that error in the admin area. If I disable Tracy and then change PHP version to 8, then the admin works OK. Link to comment Share on other sites More sharing options...
Tyssen Posted April 27, 2023 Author Share Posted April 27, 2023 Actually, it seems like probably something else going on with my set-up. I changed some things to fix a different problem, tried re-enabling Tracy, and it's fine now. Link to comment Share on other sites More sharing options...
adrian Posted May 8, 2023 Share Posted May 8, 2023 I think you likely upgraded from a very old version of Tracy at the same time you upgraded to PHP 8. When you saved Tracy's config settings, that adjusted the value of $this->data['styleAdminType'] thereby fixing the error. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now