Upgrade to latest, ERROR 500 - by etinteractive

This topic has 8 replies, 3 voices, and was last updated 7 years, 5 months ago ago by Olga Barlow

  • Avatar: etinteractive
    etinteractive
    Participant
    June 1, 2017 at 19:47

    PHP Fatal error: Call to undefined function etheme_shop_navbar() in /home/vaxxenlabs/xxx.test.com/wp-content/themes/xstore/headers/parts/top-bar.php on line 6

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: amzy
    Amzy Leel
    Participant
    June 2, 2017 at 06:29

    Hello,

    It works fine now.
    Check the site.
    Screenshot : http://prntscr.com/fexpet

    Avatar: etinteractive
    etinteractive
    Participant
    June 2, 2017 at 23:13

    Wrong site

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 3, 2017 at 09:03

    Hello,

    I don’t see any error http://prntscr.com/ffd1yg

    Regards

    Avatar: etinteractive
    etinteractive
    Participant
    June 3, 2017 at 13:16

    Try now, I changed themes back to xstore original.
    Child theme gives error 500. possibly you renamed a menu function?

    Avatar: etinteractive
    etinteractive
    Participant
    June 4, 2017 at 01:05

    Call to undefined function etheme_shop_navbar() in /home/vaxxenlabs/xxx.vaxxenlabs.com/wp-content/themes/xstore/headers/parts/top-bar.php on line 6

    Avatar: etinteractive
    etinteractive
    Participant
    June 4, 2017 at 22:24

    <?php if (etheme_get_option(‘top_bar’)): ?>

    [02-Jun-2017 11:12:37 UTC] PHP Fatal error: Call to undefined function etheme_get_option() in /home/domain/xxx.domain.com/wp-content/themes/xstore/headers/parts/top-bar.php on line 1

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 6, 2017 at 13:01

    Hello,

    As I understand you get the error only if child theme is activated, right?
    Then you need to check the code that you have in your child theme. I have made a quick look and see for example this code

    if (!function_exists('etheme_shop_navbar')) {
      function etheme_shop_navbar() {
        return '';
      }
    }

    If you want to change the function in child theme there is no need to write if (!function_exists(
    Try to change that code to

    function etheme_shop_navbar() {
        return;
      }

    and check if the error still appears. If yes, then check the other code piece by piece to find out why you get that message.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.