This plugin causes the widget.php file to go for a loop
-
The widget.php file cannot load and keeps loading till i deactivate the plugin. What could be the cause?
Thanks
-
Hi Tulesi,
The first thing I’d do is make sure your website is running PHP 5.0. If that doesn’t resolve the issue …Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to a Default theme (I use Twentyeleven) to rule-out a theme-specific issue (theme functions can sometimes interfere with the admin panel).
If that does not resolve the issue, try downloading WordPress again and delete then replace your copies of the /wp-admin/ and /wp-includes/ directories with fresh copies from the download.
Let me know.
-MarkHi Mark,
thank you for the response.I know the cause, it is the Game Schedules plugin. I could load the widget fine just 2 minutes before i activated the plugin. When i deactivate it, the widget loads again fine.
I also have the game locations plugin activated and that one is fine too.
Okay ….
First, let me be clear on ‘the widget’ you could load just fine before you activated Game Schedules. Which widget is it? (
widget.php
is a WP core program; it’s not the widget you were trying to load.)I seriously doubt the problem is with Game Schedules alone, since it’s been downloaded over 10,000 times and has an active support forum yet this problem has not been reported previously. It sounds very much like there is a conflict between Game Schedules and some other plugin. It happens from time to time.
So again, I suggest that you deactivate all your plugins, then re-activate them one at a time (starting with Game Schedules) until the problem re-occurs. Then let me know how and when you encounter the problem.
-Mark
Thanks Mark for the response.
Yes, I’m referring to wp-admin/widget.php from Appearance menu.
I have updated wp to latest version and widget.php was replaced with a newer version. No error logs referring to your plugin, but it is likely a conflict somewhere. I read somewhere that it could be due to a failure in WordPress Admin’s javascript(wp-admin/load-scripts.php).someone else on this forum has reported this issue before:
I deactivated all plugins but problem persists
Okay. Now I’m getting lost your first post was
The widget.php file cannot load and keeps loading till i deactivate the plugin. What could be the cause?
Did you mean keeps trying to load?
Now you have deactivated ALL the plugins but you keep getting messages that
widget.php
will not load?? How is this a plugin problem then? Were you trying to active Game Schedules or what?I re-read the post you referenced. A subset of Kate’s problems may or may not be related to your problem. She was getting a ‘maximum execution time exceeded’ error. Have you ever seen that error? How is the maximum execution time set on your machine?
Thanks for the info on the JavaScript issue. Game Schedules admin does load some JS.
-Mark
Game Schedules is activated. When i go to Appearance/Widget, the widget dashboard does not load (it keeps trying) but the page never comes up.
So i don’t have access to my widgets panel.
Php 5.3.3Have no problem with memory or excution time resources as this is a high performing site so all settings are set to a high level.
I installed the plugin on another fresh server and the plugin did not cause any issues. But it was the only plugin so no conflict.
I deactivated Google Analytics Dashboard for WP plugin and that seems to fix the issue partially (the widgets page loaded but with minimal content not all widgets are listed on the panel.
This tells me the issue is likely with wp admin dashboard having conflicting js code with the Game Schedules plugin.
I’m following this tutorials here and will see how it is applicable to my configuration:
https://justintadlock.com/archives/2011/07/12/how-to-load-javascript-in-the-wordpress-admin
and this:
https://pippinsplugins.com/loading-scripts-correctly-in-the-wordpress-admin/
both plugins (the location too) hampers the plugin update functionality.
I could not update my other plugins as the unpacking and downloading processes hang. Not only i had to deactivate them but to delete them altogether to get back to normal.I hope for an update sometime in the future so i can use the functionalities of these awesome plugins.
Hi Tulesi,
First, thanks for all the work you’ve done working this problem. I appreciate it. And thanks for the tutorial from Justin Tadlock. He’s one of my favorite WordPress authors.It’s interesting that Game Locations is causing the same problem because it doesn’t include any JavaScript and doesn’t have any widgets. So if that plugin causes problems with the widget page, there’s something very wrong with your site.
As for Game Schedules, I looked at the JavaScripts it loads. Taking Justin’s suggestion, I modified the enqueue function (yes, I do enqueue styles and scripts using hooks per WP conventions) to only load the scripts on the pages where they are needed. Can’t hurt.
So if you’d like to contact me by e-mail ([email protected]) I’ll send you the three files I changed to do this. It’s worth a try.
-Mark
Well if you are certain about game locations, then it must be something I’ve done trying to troubleshoot games schedules (i did some changes to wp-config like adding define(‘CONCATENATE_SCRIPTS’, false);
Yeah, I’d be grateful to try those modifications, thanks in advance.
My outlook mailbox blocked the js files, would you mind resending them as zipped? (if possible at all).
Thanks a lot.Hi Tulesi,
Did you get the js files and is the problem resolved?
-Mark
- The topic ‘This plugin causes the widget.php file to go for a loop’ is closed to new replies.