• Hi,

    I’m getting this error when I run commands in SSH (eg. ‘disable plugin’ or ‘wp cron test’)

    PHP Fatal error: Uncaught Error: Call to a member function get_option() on null in /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-content/themes/rife-free/a
    dvance/sidebars.php:54
    Stack trace:
    #0 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(286): apollo13framework_add_sidebars(”)
    #1 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/widgets.php(1715): do_action(‘widgets_init’)
    #4 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(286): wp_widgets_init(”)
    #5 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #6 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #7 in /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-content/themes/rife-free/advance/sidebars.php on line 54
    Fatal error: Uncaught Error: Call to a member function get_option() on null in /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-content/themes/rife-free/advanc
    e/sidebars.php:54
    Stack trace:
    #0 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(286): apollo13framework_add_sidebars(”)
    #1 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/widgets.php(1715): do_action(‘widgets_init’)
    #4 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(286): wp_widgets_init(”)
    #5 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #6 /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #7 in /home/334936.cloudwaysapps.com/sqmxqgdqrt/public_html/wp-content/themes/rife-free/advance/sidebars.php on line 54

    Already follow the instruction to remove all custom sidebars on This Post but still get the error

    Could you please help?

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author apollo13themes

    (@apollo13themes)

    Hey 🙂

    I will check what could be causing this error in some situations. Could you tell me which demo have you imported?

    With kind regards.
    Air.

    Hi,

    I imported the UNICORN demo.

    Thanks for your support,

    Hi there. In case it helps anyone else, I was having the same sidebar error:

    It seems your theme is generating a Fatal Error: Fatal error: Uncaught Error: Call to a member function get_option() on null in /wp-content/themes/rife-free/advance/sidebars.php:54

    Followed the instructions here
    https://rifetheme.com/help/docs/customizing-the-theme/custom-sidebars/
    to remove custom sidebars and it fixed the issue.

    Theme Author apollo13themes

    (@apollo13themes)

    Hey @beccytalk 🙂

    Could you tell me more about when it happened? I am trying to hunt this bug for a long time, but I can not recreate it.

    Was it a fresh installation or maybe it happened right after demo import? Any more details when it appeared?

    With kind regards.
    Air.

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

The topic ‘PHP Fatal Error sidebars.php’ is closed to new replies.