Hi ram108, could you test the development version from http://wordpress.org/plugins/easy-fancybox/developers/ (under Other Versions) ? It should no longer have these warnings… Please let me know if you still see them or see other warnings instead 🙂
Thread Starter
ram108
(@ram108)
Ravan, thank you. I have new errors with development version on activation:
Strict Standards: Non-static method easyFancyBox::register_settings() should not be called statically in /.../wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 532
Strict Standards: Non-static method easyFancyBox::register_settings() should not be called statically in /.../wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 315
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method easyFancyBox::add_action_link() should not be called statically in /.../wp-includes/plugin.php on line 199
OK, I treated these two functions the same way in the new dev version. Could you install that one? And if you find any more of these errors, please let me know 🙂
Thread Starter
ram108
(@ram108)
There are no errors on plugin activation now but still one error on every blog page:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method easyFancyBox::main_script() should not be called statically in /../wp-includes/plugin.php on line 429
Uploading fix now… You’ve been VERY helpful. Thanks! 🙂
Thread Starter
ram108
(@ram108)
Something is wrong again. With last version there are no errors. But no fancybox apearing, plain image is shown at the end of the document.
Thread Starter
ram108
(@ram108)
Can you check please, I sent you email at your site contact form.
Will have to test… Can you share a link to your site?
Hang on… I found it. Submitting fix now 🙂
Just wanted to add to this.
I’ve just loaded the dev version 1.5.6 but, while fewer errors, I still have a page full.
On the Settings>Media page:
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method easyFancyBox::settings_section() should not be called statically in …./wp-admin/includes/template.php on line 1139
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method easyFancyBox::settings_fields() should not be called statically in …./wp-admin/includes/template.php on line 1176
Strict Standards: Non-static method easyFancyBox::settings_fields() should not be called statically in …./wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 352
And so on.
Some info that may be helpful:
WP Version: WP 3.7.1
Web Server Info: Apache
PHP Version: 5.4.14
MySQL Version: 5.0.95-log
WP Memory Limit: 64 MB
WP Debug Mode: Yes
This is on a development site so if you need me to do some testing I’d be happy to help.
Cheers.
Hi ecomlearning, thankd for reporting. Just made these two methods static too. Could you try the new dev version? You can replace only easy-fancybox-class.php if you want 🙂
RavanH, Thanks for the response.
Seems fine on my system, warnings on the Media screen have gone, back to nice neat settings screen.
Cheers.