Fatal Error after recent update
-
I just updated from …. 2.0.? to the newest 2.0.beta… Everything used to work. And now it doesn’t.
The slider doesn’t show up on the page, it’s just blank. I tried making a new one… nothing happens.
I tried the new “save and preview” button and I get this
Fatal error: Call to a member function enqueue_scripts() on a non-object in /home/jewelsmi/public_html/wp-content/plugins/ml-slider/ml-slider.php on line 277Any help would be appreciated.
-
Hi Travis,
Thanks for getting back to me. Could you update to 2.0-beta5 and see if it fixes your problem?
If that doesn’t fix it, please try disabling all other plugins.
If that doesn’t fix it, would you mind sending some (temporary) admin login details to tom [@] matchalabs.com? Unfortunately I don’t think I can debug/fix any more without seeing the issue for myself.
Regards,
Tom.The update to beta5 worked! Thanks Tom.
Thanks Travis, good to hear 🙂
After updating to beta 5 I get a 500 Internal Server error. If I disable your plugin it goes away.
Hi James,
Thanks for letting me know.
IF you could quickly set this in your wp-config.php file:
display_errors = On
that should reveal the actual error message. If you could paste it here it’d be a great help (make sure you turn display_errors to Off as soon as you’ve grabbed the message!)
Regards,
Tom.Hi James,
Tested here on:
PHP 5.2.17
PHP 5.3.13
PHP 5.4.10Could you send me a list of the other plugins you have installed and I’ll test for conflicts.
Thanks
Tom.Access
Ad Code Manager
Add Descendants As Submenu Items
AEIOU – Advanced Export/Import (WordPress) Object Users
Akismet
BP Profile Search
BuddyPress
BuddyPress Custom Profile Menu
BuddyPress Pending Activations
BuddyPress Profile Progression
CRED Frontend Editor
Easy Tooltip
Enable Media Replace
Events Manager
Facebook AWD All in One
FAQ Manager
Geo Mashup
Global Hide/Remove Admin Bar Plugin
Google AdSense and Google Analytics Remover
Google Tag Manager and Webmaster Tools
HITS- IE6 PNGFix
Installer
Jetpack by WordPress.com
Meta Slider
NextGEN Facebook Open Graph
nrelate Most Popular
Online Chat
Pippity
Placeholder
Quick Cache
Responsive Select Menu
s2Member® Framework
Sabai
SabaiDirectory
SeoPress
Sideways8 Simple Taxonomy Images
Simple Image Sizes
Social
Social Media Widget
Twitter Tools
Twitter Widget Pro
Types – Complete Solution for Custom Fields and Types
UberMenu 2 – WordPress Mega Menu Plugin
Use Google Libraries
WordPress SEO
WP Mail From II
WP UI
WP Views
Yet Another Related Posts PluginThanks,
Installed all of those, well apart from a few that seem to no longer be available. (thanks to the Multi Plugin Installer), no errors for me. If you could answer these it might help.
– Do you have access to your Apache or PHP error log? (This is the most important one really, if you can get the actual error then it should be a quick fix. You might be able to find the error log in your hosting control panel)
If not-
– When do you get the 500 error, is it just on the Meta Slider admin page, or on the whole site?
– I assume it is installed but deactivated at the moment?
– How did you disable Meta Slider after you saw the 500 error message?Regards,
Tom.The only recent entry in the error log was…
[17-Apr-2013 05:06:25] PHP Fatal error: Cannot redeclare class Social_Controller in /**masked**/wp-content/plugins/social/lib/social/controller.php on line 7The error only occurs on the homepage, where the slider shortcode is used.
I disabled it by deactivating it in the plugins admin.
Hi James,
Very interesting, thanks for the information. I’ll see if I can replicate that here, will need to set up the social plugin properly first. It does seem like that 500 error is coming from Social and not Meta Slider – although I understand it only happened when you enabled Meta Slider!
– Did you happen to update Social at the same time you updated Meta Slider?
– Could you try disabling Social and re-enabling Meta Slider?Here is another thread that mentions the same error:
http://wordpress.org/support/topic/social-failing-cannot-redeclare-class-social_controller?replies=1Regards,
Tom.They were not updated at the same time. I am not sure that error message even had anything to do with this issue honestly. I am not getting it every time I call the page and when I disabled the Social plugin I still got the 500 error.
Ok, thanks, can you confirm:
When you enable Meta Slider you consistently see a 500 error message.
If you do, the error message should be logged – if you can paste that to me I’ll take a look.
Thanks for your patience.
Regards,
Tom.Yes, it’s consistently showing. It’s weird. Either I’m not finding the right log file or it’s not being logged.
Hi James, If the Social error is getting into there then I would have thought its the right place. Maybe try this:
/** * This will log all errors notices and warnings to a file called debug.log in * wp-content (if Apache does not have write permission, you may need to create * the file first and set the appropriate permissions (i.e. use 666) ) */ define(‘WP_DEBUG’, true); define(‘WP_DEBUG_LOG’, true); define(‘WP_DEBUG_DISPLAY’, false); @ini_set(‘display_errors’,0);(This was found in the comments here: http://css-tricks.com/snippets/wordpress/turn-on-wordpress-error-reporting/)
Regards,
Tom.Just wanted to give you an update. I have updated to 2.0-beta5 and everything seems to be working.
It works on the page, as well as the “Save and Preview” button.I do get a little red box on the editor saying this though, maybe you could provide insight on what to do about that.
Slide ID: 959 object(WP_Error)#19 (2) { ["errors"]=> array(1) { ["image_no_editor"]=> array(1) { [0]=> string(28) "No editor could be selected." } } ["error_data"]=> array(0) { } }Thank you! 😀
The topic ‘Fatal Error after recent update’ is closed to new replies.