After Update to WP 4.1 – Fatal Error refering to shortcode-handler

  • ATCler



    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:

    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.



    Additional Information:

    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.



    Post the code from /wp-content/themes/graphene/includes/theme-functions.php on line 303.

    Also, I don’t see this error on your site?!

    This problem seems to be related to the widgets/sidebars.


    Syahir Hakim


    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 theme repository yet.

    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.



    Hi, Syahir,

    thank you very much for your assistance and recomendations, solving the problem for now untill this issue will finally implemented by

    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):

    Which means

    > 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.

    Thx 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 doesn’t allow the modifications that permits, so I guess 1&1 works with

    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.