• Resolved utilibre

    (@utilibre)


    Hi there,

    I am getting extreme amount of PHP warnings from EM. It has been 3 days I am gonna lose my mind that I could not figure out. Would you have any idea to fix this?

    PHP Warnings (in error_log of Cpanel)

    `[19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::init_objects() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::redirection() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Category_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Location_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Tag_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::init_objects() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::redirection() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Category_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Location_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Tag_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::init_objects() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::redirection() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Category_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Location_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:01 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Tag_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::the_time() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 173
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::the_date() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 173
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::the_date() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 173
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::the_content() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 173
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Location_Post::the_content() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 173
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method wf_gmap::shortcode() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/shortcodes.php on line 273
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method wf_gmap::get_coordinates() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/5sec-google-maps/5sec-gmaps.php on line 324
    [19-Oct-2013 03:36:02 UTC] PHP Notice: Undefined variable: err in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/5sec-google-maps/5sec-gmaps.php on line 348
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::init_objects() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Permalinks::redirection() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Category_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Event_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Location_Post::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EM_Tag_Taxonomy::parse_query() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 487
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::output() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/em-shortcode.php on line 70
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::get_default_search() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 170
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::get_default_search() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 438
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::clean_id_atts() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 68
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::count() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 178
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::get() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 118
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 23
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::get_default_search() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 39
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::get_default_search() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 438
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::clean_id_atts() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 68
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 1105
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 1105
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 1105
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::build_sql_conditions() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 44
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::build_sql_conditions() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 329
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 328
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 342
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::ms_global_switch() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 391
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::ms_global_switch_back() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 415
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::build_sql_orderby() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 51
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::build_sql_orderby() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 399
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::get() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 179
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 23
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::get_default_search() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 39
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::get_default_search() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 438
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::clean_id_atts() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 68
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 1105
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 1105
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 1105
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::build_sql_conditions() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 44
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::build_sql_conditions() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 329
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 328
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::array_is_numeric() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 342
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::ms_global_switch() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 391
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::ms_global_switch_back() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-object.php on line 415
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Events::build_sql_orderby() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 51
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method EM_Object::build_sql_orderby() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/events-manager/classes/em-events.php on line 399
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method wf_gmap::footer() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 406′

    http://wordpress.org/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • All methods in the plugin need to be defined, either public or static. Currently they are not defined at all.

    BTW you have over other plugins giving the kind of error:
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method wf_gmap::shortcode() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/shortcodes.php on line 273
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: Non-static method wf_gmap::get_coordinates() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/5sec-google-maps/5sec-gmaps.php on line 324
    [19-Oct-2013 03:36:02 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method wf_gmap::footer() should not be called statically in /home/MYACCOUNT/public_html/MYWEBSITE/wp-includes/plugin.php on line 406′

    And this is completely different notice:
    [19-Oct-2013 03:36:02 UTC] PHP Notice: Undefined variable: err in /home/MYACCOUNT/public_html/MYWEBSITE/wp-content/plugins/5sec-google-maps/5sec-gmaps.php on line 348

    BTW it’s kind of funny as I came here to report the same thing and ask if they needed help patching it up.

    Thread Starter utilibre

    (@utilibre)

    Oh lucky me! would you be able to guide on how to fix the EM issues?

    I don’t know when the EM guys would release the update to include new fixes.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Have you tried to temporarily (to narrow down the problem):

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    ignore the last omment, won’t help because it’s something we have to change and it requires some changes that could have other implications so it’s not just a case of changing a few function params and scopes. we do intend to fix this, but it won’t be immediate.

    right now the best solution is to disable strict reporting in your error logging, since so many plugins still have this problem too (I can’t usually run WP_DEBUG even with EM disabled and not get these issues)

    Thread Starter utilibre

    (@utilibre)

    Thank you all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Warnings by EM’ is closed to new replies.