Undefined Errors in a 8.5.2 site
Permalink
Having some strange errors coming up in a 8.5.2 site. I've been working on it fine for a few days, and seemingly out of the blue I'm getting weird errors occurring that I have not seen before on a C5 site. I'm sure it's going to be something I've done, but I have no idea what right now...
Errors are: e.g
When I run either of the 'Index Search Engine' automated jobs - I get:
Trying to get property 'fsID' of non-object
When I try to add a page list to any page in the front-end - I get:
Exception Occurred: /***/concrete/blocks/page_list/controller.php:62 Undefined property: Concrete\Block\PageList\Controller::$orderBy (8)
When I try to amend a page list that has already been added to the front-end - I get:
Exception Occurred: /***/concrete/blocks/page_list/page_list_form.php:281 Undefined variable: isOtherPage (8)
If i try to add 'Page Title' block to front end - I get:
Exception Occurred: /****/concrete/blocks/page_title/controller.php:63 Undefined property: Concrete\Block\PageTitle\Controller::$useFilterTitle (8)
======
I'm running PHP v7.2.20 - I've tried switching it to 7.3 / 7.1 / 7.0 - all have the same issues.
I'm using a custom theme/block/templates, but I have switched back to Elemental, removed all custom block/templates, deleted Cache, etc, and that has no effect.
It's on a local dev server right now. I have tried moving it to another server with a completely different build, and the same errors are occurring, so it would appear to be site specific.
Can anyone help me out as to what might possibly cause these specific errors please?
Errors are: e.g
When I run either of the 'Index Search Engine' automated jobs - I get:
Trying to get property 'fsID' of non-object
When I try to add a page list to any page in the front-end - I get:
Exception Occurred: /***/concrete/blocks/page_list/controller.php:62 Undefined property: Concrete\Block\PageList\Controller::$orderBy (8)
When I try to amend a page list that has already been added to the front-end - I get:
Exception Occurred: /***/concrete/blocks/page_list/page_list_form.php:281 Undefined variable: isOtherPage (8)
If i try to add 'Page Title' block to front end - I get:
Exception Occurred: /****/concrete/blocks/page_title/controller.php:63 Undefined property: Concrete\Block\PageTitle\Controller::$useFilterTitle (8)
======
I'm running PHP v7.2.20 - I've tried switching it to 7.3 / 7.1 / 7.0 - all have the same issues.
I'm using a custom theme/block/templates, but I have switched back to Elemental, removed all custom block/templates, deleted Cache, etc, and that has no effect.
It's on a local dev server right now. I have tried moving it to another server with a completely different build, and the same errors are occurring, so it would appear to be site specific.
Can anyone help me out as to what might possibly cause these specific errors please?
Just bumping this - can anyone shed any light as to what might cause these errors pls?
To eliminate any core file corruption you could download a fresh copy of 8.5.2 and replace the concrete folder with the fresh copy.
Hi - Thanks for the suggestion! Already tried that, but no joy.
Could php strict mode or some other higher than normal level of error or warning be enabled?
Thanks for the suggestion. I've just double checked and strict mode was disabled.
Both servers I've tested on have quite a few other C5 installs running with no issues, various versions up to / including 8.5.1 - so I would expect that this site *should* work okay from a setup perspective... This is the only 8.5.2 site I currently have running, so I don't have others to compare it against.
Both servers I've tested on have quite a few other C5 installs running with no issues, various versions up to / including 8.5.1 - so I would expect that this site *should* work okay from a setup perspective... This is the only 8.5.2 site I currently have running, so I don't have others to compare it against.