When I set WordPress Settings/Reading/Static Pages to Homepage: Home and Posts Page: Blog, my theme’s Blog page displays but without the title bar, so, if I leave the Posts Page unselected, the Blog page displays with the title bar BUT if Feelsoul is activated, there is a “There has been a critical error on this website.”
define( ‘FDP_REMOVE_FILTERS_BEFORE_FIRST_PLUGIN’,true ); was added to the wp-config file but had no affect.
please, help me to reproduce the same issue on my installation.
As I understand in Settings => Reading you have something similar to the following picture:
Right?
If Freesoul Deactivate Plugins is active you have a fatal error.
Now, my questions:
Is the fatal error on the blog page? Or also on other pages? If so, both in the backend and frontend, or only on the frontend?
How do you define the blog page? Is it a normal static page where you have somehow added the last blog posts?
If you go to the FDP backend pages, do you see any notice on the top right? If so, can you please go with your mouse on the notification icon and click on “Show details”? I mean something that looks like the following picture.
If you don’t see any notification, please, enable the debugging in your wp-config.php by adding the following lines before the comment /* That’s all, stop editing! Happy publishing. */:
Is the fatal error is just on the blog page and only on the frontend.
The blog page is a normal static page with a Blog template (ThemeTrust Create theme)
I did not see a notice on the FDP backend page.
Debug enabled and I see the following:
Error Log:
[27-Jan-2023 22:25:14 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/customer/www/MYWEBSITE/public_html/wp-content/themes/themetrust-create/templates/template-blog.php:26 Stack trace:
I suspect you have disabled a plugin that is needed by the theme. If the theme suggests some plugins, be sure they are active on the blog page.
Try enabling all the plugins on the blog page, and if you don’t have any more the error, then disable them again one after the other until you find that one that cannot be disabled.