This topic has 2 replies, 2 voices, and was last updated 10 years by CalCreate.

  • Author
  • #22679
     CalCreate
    Participant

    I’ve read the topics with others having the same error and have checked all my plugins and the Kleo theme as well as WordPress and everything is up to date.

    Kleo Version: 1.5
    WordPress Version 3.9.1
    WPBakery Visual Composer Version 4.0.5

    On all the pages built with Visual Composer the following error appears:
    Fatal error: Call to undefined function vc_shortcode_custom_css_class() in /hermes/bosnaweb02a/b1440/ipw.createin1/public_html/global2020vision/wp-content/themes/kleo/vc_templates/vc_column.php on line 14

    The site has BuddyPress as well but none of those pages are having any problems.

    It looks like to me the problem is in “vc_column.php” on line 14 according to the error. I’ve opened this and looked at it but don’t know enough to know what is wrong with line 14. This is what my line 14 is:
    $css_class = preg_replace( ‘/vc_span(\d{1,2})/’, ‘col-sm-$1’, $width.$el_class.vc_shortcode_custom_css_class($css, ‘ ‘) );

    http://www.global2020vision.com/ is my site that is having the problem. It is also evident on the about us page: http://www.global2020vision.com/about-us/
    Thanks for your help!

    #22817
     Catalin
    Moderator

    Hello,

    Please upgrade Visual Composer to the latest version available. (4.2.3)

    Let me know if this works.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #22854
     CalCreate
    Participant

    Thanks for your help. I’ve realized now that Visual Composer must be updated manually. I wasn’t aware of this before.

    Cheers.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Fatal error: Call to undefined function’ is closed to new replies.

Log in with your credentials

Forgot your details?