Global plugins screen blank
-
I just updated to version 6.0 The global plugins screen is now not showing any plugins. What could be wrong here?
-
No Jeff, no errors. Just empty div where content goes, with one non breaking empty space.
And in some strange way loader icon is hidden with display:none. Other links show loading icon, fast same no results.I deleted, or messed whole code in postMetaBox.php and no errors, same as with legitime code. Because of that i said it even dont come to parsing code of this file.
Yeah it seems like it isn’t loading postMetabox.php. Can you go into the file PO_Template.class.php and find require_once(‘postMetabox.php’); and replace it with require_once($this->PO->absPath. ‘/tpl/postMetabox.php’);
Sorry that was wrong. Was going by memory. Open globalPlugins.php in the tpl directory and change require_once(‘postMetaBox.php’); on line 22 to be require_once($this->PO->absPath . “/tpl/postMetaBox.php”);
You could also try changing require_once to require. Maybe it’s being loaded somewhere else.
It doesnt work, just prints code. But sent me in right direction to solve it.
Opening PHP tag is wrong. This works:
<?php<?php $ajaxSaveFunction = "PO_submit_global_plugins();"; require_once('postMetaBox.php'); ?>Please change in all 3-4 files and put an new update. So we dont change core code of plugin.
One other thing, to not open new topic.
Why do you use own JS, CSS for backend when WordPress has it all in core ?You have several different buttons (design) to chose from. WP (metabox) header, collapsible too. Colors and style match WP. Just reuse that what exist in WP backend.
Same thing is with Dynamic Widgets plugin. To much unnecessary coding when it can be reused from WP core.
Sorry. I’m not sure why I used short tags. I removed them with version 6.0.3.
I’m not sure what you’re saying with the js and css.
To make styling bit more as WP styling.
– Use header color as color of “Add new Custom Field” grey color.
– Header font color black.
– Borders more subtle as other content inside WP Metaboxes have.
– Buttons style improve a bit:.toggle-button-on { background-color: #336600; border: medium none; color: #fff; cursor: pointer; padding: 5px 20px; } .toggle-button-on:hover { background-color: #990000; } .toggle-button-off { background-color: #990000; border: medium none; color: #fff; cursor: pointer; padding: 5px 20px; } .toggle-button-off:hover { background-color: #336600; }Somethig like this, small changes here and there.
You can change the color of the buttons by going to the settings page and clicking the Admin CSS tab. I can also add options for changing the header for the post meta boxes.
The new update solve the global and post type plugins screens, sometimes I get a blank page when I activate a plugin or when I am posting, but it goes away once I refresh the page. I also notice this happens more often or almost always when I have 3 windows of my website open and I tried to refresh them at the same time. I dont know if this happens to anyone else, but thought it might be helpful to inform. Thanks for your time and for this great plugin Jeff.
It sounds like your server is running out of memory or running out of Apache threads and throwing a 500 error.
It happens when I turned Selective Admin Plugin Loading to off, when its on everything is ok, I assume it is a plugin conflict between the active plugins in the admin, since I set to off all global plugins.
The topic ‘Global plugins screen blank’ is closed to new replies.