Conversation
supportHere is my situation. In the beginning everything worked fine. Recently we did some updates to our site. No new plugs but newer versions of WP and plugins. I went to edit a page or create a new page and I would get a blank page when I clicked edit or sometimes I would get a parse error. I disabled all my plugins and reactivated them one by one. And I’ve nailed it down to the “IntelliWidget Per Page Featured Posts and Menus” For some reason, when I activate this plugin I’m not able to edit nor add new pages. I’m currently using this plug for a side bar menu on sub pages. site: choctawdefenseservices.com WP Ver: 3.9.1 Theme: Vantage Premium by SiteOrgin Ver 2.1.12 Hosted: Linux Php: 5.3 https://wordpress.org/plugins/intelliwidget-per-page-featured-posts-and-menus/
Hi, Can you paste the exact parse error? I need to see the point it is failing so I can find the function php 5.3 is choking on. Thanks, -jf
rwalker_cds: We have installed the Vantage theme and cannot duplicate the issue. Please send us the specific error you are experiencing so we can resolve this ticket, otherwise we will consider the issue closed. Thanks, -jf
This was the error: Parse error: syntax error, unexpected T_VARIABLE in /home/content/65/11271165/html/wp-admin/post.php on line 24 Now it is giving me a blank page with no error when I try to edit or create a new page.
Can you please edit wp-config.php and change the following line (around 85) and let me know if you get any more information: define('WP_DEBUG', false); to define('WP_DEBUG', true); There should not be an unexpected variable at line 24 of wp-admin/post.php so this may reveal a deeper issue.
I made the change in wp-config.php to enable debugging. However I did not see an error when I performed any actions.
If you are getting a blank screen there is a fatal error before the page is finished rendering. Since we cannot duplicate it on our end, it has to be a conflict with your version of the theme, but may be a larger issue and I would like to find it. Sometimes debug output is only be visible when you view source. It may be easier to debug if I could see the admin firsthand. This would require temporary admin access to your WP install. Also, we just pushed version 2.1.3 which may or may not resolve this issue, but is worth a try. Thanks, -jf
Ok, this is fixed now. I will be adding this patch to the next IW release. The plugin “Page Builder” is doing some dangerous stuff in the init functions, specifically calling ALL the widgets’ form() methods in a buffered output block. This potentially executes thousands of lines of code that will never be used just so that they can initialize any queued scripts. On the flip side, IntelliWidget should be able to render the form() method after the ‘plugins_loaded’ action without a fatal error, so I guess it is a draw. In any case, you have exposed an issue that would have otherwise gone unaddressed. Thanks,
Hi, Can you paste the exact parse error? I need to see the point it is failing so I can find the function php 5.3 is choking on. Thanks, -jf
rwalker_cds: We have installed the Vantage theme and cannot duplicate the issue. Please send us the specific error you are experiencing so we can resolve this ticket, otherwise we will consider the issue closed. Thanks, -jf
This was the error: Parse error: syntax error, unexpected T_VARIABLE in /home/content/65/11271165/html/wp-admin/post.php on line 24 Now it is giving me a blank page with no error when I try to edit or create a new page.
Can you please edit wp-config.php and change the following line (around 85) and let me know if you get any more information: define('WP_DEBUG', false); to define('WP_DEBUG', true); There should not be an unexpected variable at line 24 of wp-admin/post.php so this may reveal a deeper issue.
I made the change in wp-config.php to enable debugging. However I did not see an error when I performed any actions.
If you are getting a blank screen there is a fatal error before the page is finished rendering. Since we cannot duplicate it on our end, it has to be a conflict with your version of the theme, but may be a larger issue and I would like to find it. Sometimes debug output is only be visible when you view source. It may be easier to debug if I could see the admin firsthand. This would require temporary admin access to your WP install. Also, we just pushed version 2.1.3 which may or may not resolve this issue, but is worth a try. Thanks, -jf
Ok, this is fixed now. I will be adding this patch to the next IW release. The plugin “Page Builder” is doing some dangerous stuff in the init functions, specifically calling ALL the widgets’ form() methods in a buffered output block. This potentially executes thousands of lines of code that will never be used just so that they can initialize any queued scripts. On the flip side, IntelliWidget should be able to render the form() method after the ‘plugins_loaded’ action without a fatal error, so I guess it is a draw. In any case, you have exposed an issue that would have otherwise gone unaddressed. Thanks,