• Resolved thelittlewildone

    (@thelittlewildone)


    I’m getting this fatal error when trying to go to my dashboard or website:

    Fatal error: Uncaught TypeError: Argument 1 passed to WPSEO_OnPage::add_weekly_schedule() must be of the type array, null given, called in /home/thel1982/public_html/wp-includes/class-wp-hook.php on line 286 and defined in /home/thel1982/public_html/wp-content/plugins/wordpress-seo/admin/onpage/class-onpage.php:105 Stack trace: #0 /home/thel1982/public_html/wp-includes/class-wp-hook.php(286): WPSEO_OnPage->add_weekly_schedule(NULL) #1 /home/thel1982/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(NULL, Array) #2 /home/thel1982/public_html/wp-includes/cron.php(439): apply_filters(‘cron_schedules’, Array) #3 /home/thel1982/public_html/wp-includes/cron.php(384): wp_get_schedules() #4 /home/thel1982/public_html/wp-includes/class-wp-hook.php(286): wp_cron(”) #5 /home/thel1982/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/thel1982/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/thel1982/public_html/wp-settings.php(450): do_action(‘init’) in /home/thel1982/public_html/wp-content/plugins/wordpress-seo/admin/onpage/class-onpage.php on line 105

    It happened earlier but seemed to fix itself however it’s come back and does not seem to be going away. I can’t even get onto my dashboard to try to resolve anything?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Try:
    manually resetting your plugins (no Dashboard access required). Here is another tutorial: https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/ . If that resolves the issue, reactivate each one individually until you find the cause. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Seventeen, etc.) for a moment. Aaccess your server via FTP/ SFTP , or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding "-old" to the end of the folder name. Alternately, you can remove other themes except the default theme (Twenty Seventeen, etc.). That will force your site to use it.
    – If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter thelittlewildone

    (@thelittlewildone)

    Thanks, my domain ended up manually disabling Yoast for me as there was a conflict with that plugin after i updated it.

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘FATAL ERROR?’ is closed to new replies.