• Resolved Brad-NZ

    (@brad-nz)


    Localhost install Windows Server 2016, IIS 10

    • WordPress 4.7.1
    • MySQL 5.7.17 x64
    • PHP 7.1.0
    • curl enabled
    • intl enabled
    • json enabled

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WeatherStation\System\Plugin\Activator::create_tables(), 0 passed in D:\Websites\TestSite\wp-content\plugins\live-weather-station\includes\classes\SystemPluginActivator.php on line 35 and exactly 1 expected in D:\Websites\TestSite\wp-content\plugins\live-weather-station\includes\traits\DBStorage.php:292 Stack trace: #0 D:\Websites\TestSite\wp-content\plugins\live-weather-station\includes\classes\SystemPluginActivator.php(35): WeatherStation\System\Plugin\Activator::create_tables() #1 D:\Websites\TestSite\wp-content\plugins\live-weather-station\live-weather-station.php(39): WeatherStation\System\Plugin\Activator::activate() #2 D:\Websites\TestSite\wp-includes\class-wp-hook.php(298): activate_Live_Weather_Station('') #3 D:\Websites\TestSite\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #4 D:\Websites\TestSite\wp-includes\plugin.php(453): WP_Hook->do_action(Array) #5 D:\Websites\TestSite\wp-admin\plugins.ph in D:\Websites\TestSite\wp-content\plugins\live-weather-station\includes\traits\DBStorage.php on line 292

    Thanks for the help.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error trying to Activate’ is closed to new replies.