Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author sjaved

    (@sjaved)

    Hello Macemmek,

    What version of plugin you are using?

    Please update or re-install the plugin and it will be fixed.

    Thanks

    Thread Starter pshemek

    (@emmek)

    Sorry, there’s a plugin with the same name as yours and I mixed’em up!

    But let me edit this topic, because I found some warning in your plugin.

    Strict Standards: Non-static method Easy_Facebook_Likebox::render_fb_box() should not be called statically, assuming $this from incompatible context in /…/wp-content/plugins/easy-facebook-likebox/includes/easy-facebook-likebox-widget.php on line 30

    Plugin Author sjaved

    (@sjaved)

    Where this error occurs. I mean on the time of activation or somewhere else?

    Thread Starter pshemek

    (@emmek)

    It occurs constantly, not only on activation. Visible on the front-end, right above the widget content.

    PHP in strict mode.

    Plugin Author sjaved

    (@sjaved)

    Hi,

    Please post the website link where I can see the issue.

    Thanks

    Thread Starter pshemek

    (@emmek)

    Currently I don’t have an access to the server with PHP strict mode enabled. It’s visible locally in my dev environment.

    I’m not fluent in PHP, but maybe you should declare a static method in public/easy-facebook-likebox.php line 323:

    public static function render_fb_box($options) {...

    Plugin Author sjaved

    (@sjaved)

    Yes you can declare the function like the one you suggested.

    Note: Strict Standards warnings are not errors; these are messages for developers and such messages should not be enabled on a production site.

    Refer to this article:
    http://wordpress.org/support/topic/notice-use-of-undefined-constant-_dir_-in-php-52?replies=2

    Thanks

    Plugin Author sjaved

    (@sjaved)

    Let me know if you need further support regarding this plugin.

    Marking resolved!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Strict Standards: Non-static method Easy_Facebook_Likebox::render_fb_box()’ is closed to new replies.