After Update to WP 4.1 – Fatal Error refering to shortcode-handler
according to the graphene recommendation, I installed the Graphene-Shortcode-Plugin. Thereafter WP worked proberly.
There was also NO plugin conflict.
Yesterday,after I updated to WP 4.1 and received the following message:Quote:Fatal error: Call to undefined function warning_block_shortcode_handler() in /home/www/xxxxxx/html/wordpress/wp-content/themes/graphene/includes/theme-functions.php on line 303
Therefore, it is NOT possible to issue or preview articles/pages.
As I said: Graphene-Shortcodes-Plugin is installed.
I guess, itÂ´s a problem with this new WP Version, because the Plugin worked fine before…
BTW: All content, being already issued working without problems.
I have two more websites with exactly the same WP, Theme and plugin setup, which means:
> WP 4.1
> Theme Graphene Version 1.9.4
> Same Plugins in their latest version
On this 2 Websites, NO problems occur…
I checked the Website with the problem (see first posting) with all plugins OFF and reactivating one by one > No effect.
Error is still there.
AnonymousDecember 20, 2014 at 1:04 am #44155
Post the code from
/wp-content/themes/graphene/includes/theme-functions.phpon line 303.
Also, I don’t see this error on your site?!
This problem seems to be related to the widgets/sidebars.Admin
This is a known issue, and a fix has already been implemented as noted by Anonymous above. It’s just that the fix hasn’t reached the official WordPress.org theme repository yet.Quote:Also, I don’t see this error on your site?!
This particular error will only be seen if you’re logged in as an administrator, and one of sidebar widget areas being displayed has no widgets in it. A simple fix would be to add at least one widget to each of the sidebar being displayed.
thank you very much for your assistance and recomendations, solving the problem for now untill this issue will finally implemented by WP.org.
Basically, all my individual sidebars have widgets in it, however not the three standard widget areas, because they will be substituted by my own ones anyway on any page/article, but this seems to cause the problem (because they I left empty):
> Standard sidebar widget area for right side
> Standard sidebar area for 2. (left) side
> Standard widget area for footer
So I just inserted a simple TEXT widget, being left empty, and now my articles/pages are displayed again in the Admin mode.
After issueing an article, that areas are substituted properly by the assigned sidebars and everything looks fine again.
I just began a site and found the Graphene theme just great, but as others I had this trouble with the line303 error in the sidebar.
I dl’d and installed the graphene shortcodes, to no avail.
I would paste the php code line indicated above, but I don’t seem to have access to editing, I have no Appearance > Editor tab.
I’m working on a WordPress site installed directly on a 1&1 site. I read somewhere that wordpress.com doesn’t allow the modifications that wordpress.org permits, so I guess 1&1 works with wordpress.com.
So, do you guys see any way I can make Graphene work under those conditions, or should I drop it and go for another theme (in which case feel free to recommend one).
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.