• Hi All

    After installing an weather app (See below) Error message it crashed the mentioned website

    Can i somehow als standard user the plugin via my Host Metanet

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/widgets.php(123): WP_Widget_Factory->register(‘my_weather’) #2 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-content/plugins/my-weather/my_weather.php(26): register_widget(‘my_weather’) #3 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-hook.php(324): load_my_weather(”) #4 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/widgets.php(1870): do_action(‘widgets_init’) #7 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-hook.php(324): wp_widgets_init(”) #8 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-settings.php(727): do_action(‘init’) #11 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-config.php(90): require_once(‘/home/httpd/vho…’) #12 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-load.php(50): require_once(‘/home/httpd/vho…’) #13 /home/httpd/vhosts/bioenergie.website/httpdocs/wp-blog-header.php(13): require_once(‘/home/httpd/vho…’) #14 /home/httpd/vhosts/bioenergie.website/httpdocs/index.php(17): require(‘/home/httpd/vho…’) #15 {main} thrown in /home/httpd/vhosts/bioenergie.website/httpdocs/wp-includes/class-wp-widget.php on line 163

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • It looks like you are using some weather plugin messing with your installation, probably version outdated.

    Go into your hosting folders (FTP or whatever method your hosting has), get into wp-content/plugins/ folder and search for a folder with the name of the weather plugin your are talking about, and delete it.

    Then try to find a newer version of such plugin and install it back.

    Moderator threadi

    (@threadi)

    The error is caused by the “My Weather” plugin. It is over 10 years old and therefore probably not compatible with the current version of WordPress. You will need to delete this plugin as described by @sirlouen in order to continue using your project. You then have the following options:

    Thread Starter Alexander

    (@lugeral9)

    Dear All

    Many thanks für your support as I was able to fix it by SirLouen commend

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

The topic ‘Website Crashed after plugin activation’ is closed to new replies.