This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: , ,

Fatal error with OptimizePress plugin

  • Creator
    Topic
  • #17048
    magganpice
    Member

    I’m using the latest version of Akita. I get this error:

    Fatal error: Call to undefined function themeblvd_remove_trailing_char() in /home/httpd/vhosts/mywebsite.com/httpdocs/wp-content/themes/akita/framework/includes/general.php on line 31

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #17049
    magganpice
    Member

    I’m using:

    – Akita 2.1.4
    – WordPress 3.9.1

    The error happens in the admin area when configuring a plugin (OptimizePress Page Builder). But it looks like some code is calling an old function, which would be a bug.

    #17072
    Jason Bobich
    Keymaster

    Hello,

    Not to worry, there’s no bug in the theme in this regard, or old functions being called anywhere.

    The reason this happens is because the OptimizePress plugin is running on your WordPress admin side, where the basic WordPress conditional is_admin() is obviously true, but the plugin calls WordPress action hooks that are meant for the frontend of your website.

    In the case of our theme, we separate a lot of functionality between frontend and admin, in order for the theme and plugins to run more efficiently on both sides. The workaround with OptimizePress is just to make sure it’s not possible for any of the theme’s frontend parts to get mistakingly called within the admin.

    Here’s the working solution currently going around, which involves just a little customization from your child theme’s functions.php.

    http://support.themeblvd.com/forums/topic/error-message-2/#post-16211

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.