Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Fatal Error after 2.4.1 plugin upgrade on multisite

  • After upgrading to the most recent version of GP Premium, my site crashed with a fatal WordPress error. This is throughout the logs:

    “environment”: “PROD”,
    “type”: “error”,
    “date”: “2024-06-03T13:49:23.000Z”,
    “severity”: “error”,
    “client”: “”,
    “message”: “PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function get_network_option(), 1 passed in /nas/content/live/scienceblogcom/wp-content/themes/generatepress/functions.php on line 129 and at least 2 expected in /nas/content/live/scienceblogcom/wp-includes/option.php:1747\\nStack trace:\\n#0 /nas/content/live/scienceblogcom/wp-content/themes/generatepress/functions.php(129): get_network_option(‘generatepress_w…’)\\n#1 /nas/content/live/scienceblogcom/wp-includes/class-wp-hook.php(324): update_wpe(”)\\n#2 /nas/content/live/scienceblogcom/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\\n#3 /nas/content/live/scienceblogcom/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\\n#4 /nas/content/live/scienceblogcom/wp-settings.php(717): do_action(‘wp_loaded’)\\n#5 /nas/content/live/scienceblogcom/wp-config.php(85): require_once(‘/nas/content/li…’)\\n#6 /nas/content/live/scienceblogcom/wp-load.php(50): require_once(‘/nas/content/li…’)\\n#7 /nas/content/live/scienceblogcom/wp-blog-header.php(13): require_once(‘/nas/content/li…’)\\n#8 /nas/content/live/scienceblogcom/index.php(17): require(‘/nas/content/li…’)\\n#9 {main}\\n thrown in /nas/content/live/scienceblogcom/wp-includes/option.php on line 1747″,

  • Hi there,

    Any chance you can try re-install GP Premium plugin to see if that fix the issue?

    Let me know 🙂

  • Hi Ying. I think I installed the most recent version, 2.4.1. Has the file been updated?

  • 2.4.1 is the most recent one.

    I’ve seen another fatal error with multiple site when updating GP Premium, and it’s resolved by manually re-installing the GP premium plugin, can you give it a try?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.