• Resolved twowithink

    (@twowithink)


    Hi,

    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.

    Thank you in advance for your assistance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Hi @twowithink

    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. */:

    define( 'WP_DEBUG', false );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    Then try again, and let me know what you find in wp-content/debug.log.

    It would be useful also if you can give me the name of your theme.

    Have a great day!

    Jose

    Thread Starter twowithink

    (@twowithink)

    Hi,

    Yes, that is the correct.

    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:

    0 /home/customer/www/MYWEBSITE/public_html/wp-includes/template-loader.php(106): include()

    1 /home/customer/www/MYWEBSITE/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’)

    2 /home/customer/www/MYWEBSITE/public_html/index.php(17): require(‘/home/customer/…’)

    3 {main}

    thrown in /home/customer/www/MYWEBSITE/public_html/wp-content/themes/themetrust-create/templates/template-blog.php on line 26

    Thank you for your assistance!

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @twowithink

    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.

    If nothing helps, if possible, send me a link to the theme zip file using the contact form at https://freesoul-deactivate-plugins.com/contact/

    Have a great day!

    Jose

    Thread Starter twowithink

    (@twowithink)

    Hi Jose,

    Message via the contact form sent.

    Thank you,

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @twowithink,

    thank you for sending your email. I’ve right now answered you.

    Have a great day!

    Jose

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @twowithink

    as written in my last email, I was able to reproduce the same issue and solve it on my installation. I suggest you try the new release candidate v. 1.9.4.2.RC-1 that you can download here: https://downloads.wordpress.org/plugin/freesoul-deactivate-plugins.1.9.4.2.RC-1.zip

    We have still to finish some tests before publishing the official version, so better if you first try it on a staging environment.

    Please, let me know if it fixes the issue also on your installation. The official release will be in a few days.

    Have a great day!

    Jose

    Thread Starter twowithink

    (@twowithink)

    Thank you Jose!

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @twowithink

    You are welcome! For your information, version 1.9.5.0 is now public.

    Have a great day!

    Jose

    Thread Starter twowithink

    (@twowithink)

    Update works perfectly. Thank you again for all of your help!

    Plugin Author Jose Mortellaro

    (@giuse)

    Perfect! Many thanks to you @twowithink !

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Critical Error Message on Blog Page’ is closed to new replies.