• Resolved scotstevens

    (@scotstevens)


    I updated my pluggins after not updating in forever and my site is now not working. Here is the notice:

    Fatal error: Call to undefined function get_network_option() in /home/mauimy5/public_html/californiaprosound.com/wp-content/plugins/autoptimize/classes/autoptimizeOptionWrapper.php on line 43

    This is the “bad” line of code per the error:
    $configuration_per_site = get_network_option( get_main_network_id(), ‘autoptimize_enable_site_config’, ‘on’ );

    I accessed the back-end and removed the pluggin to the trash but that didn’t change anything so I restored it.

    Feeling pretty stuck and worried at the moment.

    WP version is 4.2.??? I can’t access it to tell you more. I do know that the recommended update was approved by the developer as fully functional on my version before hitting the update button.

    Thank you so much for helping, Scot

    • This topic was modified 6 years, 4 months ago by scotstevens.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    My bad @scotstevens , seems that get_network_option() is only available in 4.4 and higher, I’ll update the minimal wordpress version to 4.4 immediately.

    Given the massive amount of changes and security fixes I would strongly advise you to update WordPress. If not possible, you can download Autoptimize 2.5.1 from https://downloads.wordpress.org/plugin/autoptimize.2.5.1.zip and install that instead.

    hope this helps,
    frank

    Thread Starter scotstevens

    (@scotstevens)

    Hi Frank,

    Thank you very much for your response!

    I had some assistance from my host to deactivate the plugin and the site is back up. They also assisted me in updating to the current WP release as well as the latest Divi release. I am worried about adding the plugin back in as we tried to activate it after updating and the site still crashed with activation (quite possibly something else!?)

    Cheers,

    Scot

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    we tried to activate it after updating and the site still crashed with activation

    any errors in the PHP-errorlog (or in the mail you might have received)?

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

The topic ‘Help please – Fatal error on update’ is closed to new replies.