Title: Errors on activation
Last modified: April 26, 2019

---

# Errors on activation

 *  Resolved [mavalon](https://wordpress.org/support/users/mavalon/)
 * (@mavalon)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/errors-on-activation-19/)
 * I get the following errors when I activate the plugin:
 *     ```
       Deprecated: Non-static method WPVC_Map_Widget::load_widget() should not be called statically in C:\htdocs\site\apps\cms\wp-includes\class-wp-hook.php on line 286
   
       Deprecated: Non-static method WPVC_Master::init() should not be called statically in C:\htdocs\site\apps\cms\wp-includes\class-wp-hook.php on line 286
   
       Deprecated: Non-static method WPVC_Master::add_pages() should not be called statically in C:\htdocs\site\apps\cms\wp-includes\class-wp-hook.php on line 286
   
       Notice: Undefined index: hex_smap_button in C:\htdocs\site\apps\cms\wp-content\plugins\wp-visited-countries-reloaded\inc\class-wpvc-settings.php on line 536
   
       Notice: Undefined index: pos_smap_button in C:\htdocs\site\apps\cms\wp-content\plugins\wp-visited-countries-reloaded\inc\class-wpvc-settings.php on line 537
   
       Deprecated: Non-static method WPVC_Master::check_version() should not be called statically in C:\htdocs\site\apps\cms\wp-includes\class-wp-hook.php on line 288
   
       Deprecated: Non-static method WPVC_Master::check_version() should not be called statically in C:\htdocs\site\apps\cms\wp-includes\class-wp-hook.php on line 288
   
       Deprecated: Non-static method WPVC_Master::admin_notice() should not be called statically in C:\htdocs\site\apps\cms\wp-includes\class-wp-hook.php on line 286
       Plugins Add New
       The plugin generated 595 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
       ```
   
 * I’m using WP 4.9.10 with PHP 7.2.
 * I see someone else posted the same issue and it was closed and marked as resolved,
   but there was no solution posted.
 * Any help would be greatly appreciated.

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

 *  [munyagu](https://wordpress.org/support/users/munyagu/)
 * (@munyagu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/errors-on-activation-19/#post-11468741)
 * Hello,
 * The error occurs in php version 5.6 or later.
    Use php version 5.4 or earlier,
   or do not use that plugin, or [turn off WordPress debugging mode](https://codex.wordpress.org/Debugging_in_WordPress).
 *  Plugin Author [JonasBreuer](https://wordpress.org/support/users/jonasbreuer/)
 * (@jonasbreuer)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/errors-on-activation-19/#post-11478866)
 * There will be an update in May fixing this issue. Turning off the debugging mode
   as suggested by munyagu is a good thing to do. Debugging mode should generally
   not be activated in live sites.

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

The topic ‘Errors on activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-visited-countries-reloaded.svg)
 * [WP Visited Countries Reloaded](https://wordpress.org/plugins/wp-visited-countries-reloaded/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-visited-countries-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-visited-countries-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-visited-countries-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-visited-countries-reloaded/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [JonasBreuer](https://wordpress.org/support/users/jonasbreuer/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/errors-on-activation-19/#post-11478866)
 * Status: resolved