• Resolved thejefftompkins

    (@thejefftompkins)


    This is the error I’m getting when trying to load my site:

    ArgumentCountError thrown
    Too few arguments to function WP_Widget::__construct(), 0 passed in /home4/sandhgol/public_html/scratchersandhackers/wp-includes/class-wp-widget-factory.php on line 61 and at least 2 expected

    It’s preventing me from logging in to my site, so I’m dead in the water. It’s hosted on bluehost.

    Please help!
    Jeff

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Don’t think it’s a NextGEN Gallery problem.

    If it was me I’d log into the hosting and manually upload a fresh copy of WordPress. Basically, download WordPress, extract it and upload the wp-admin folder and the wp-includes folder, overwriting the existing ones.

    Detailed instructions are here:

    Upgrading WordPress – Extended Instructions

    DO NOT DELETE wp-content folder and the wp-config.php file. Also, don’t delete .htaccess if you have made changes to it.

    Another thing to try is to disable all your plugins. You can also do that when logged into your hosting. Just temporarily rename the plugins folder and try to access your site. If the site works you know a plugin is causing it and it just a matter of finding out which one.

    There’s also the possibility that this error is caused by the PHP version your hosting is using. Has PHP been updated recently? Can you try a different version?

    Good luck.

    • This reply was modified 4 years, 3 months ago by macsuibhne.
    Thread Starter thejefftompkins

    (@thejefftompkins)

    Thanks for the advice. It turns out it was a Facebook plugin. Turning off all plugins from the host site was key, then turning them all on one by one.

    Thanks again!

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

The topic ‘ArgumentCountError thrown’ is closed to new replies.