Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1256023

    Hello support,

    Do you know what happened?

    Im getting this error on this page https://nordicanalytics.dk/preffect/

    Fatal error: Uncaught Error: Cannot access protected property avia_sc_toggle::$counter in /var/www/nordicanalytics.dk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php:552 Stack trace: #0 /var/www/nordicanalytics.dk/public_html/wp-includes/shortcodes.php(343): avia_sc_tab->av_tab(Array, ‘\n<img l…’, ‘av_tab’) #1 [internal function]: do_shortcode_tag(Array) #2 /var/www/nordicanalytics.dk/public_html/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(av_tab…’, ‘do_shortcode_ta…’, ‘\n[av_tab title=…’) #3 /var/www/nordicanalytics.dk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php(484): do_shortcode(‘\n[av_tab title=…’) #4 /var/www/nordicanalytics.dk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php(499): ShortcodeHelper::avia_remove_autop(‘\n[av_tab title=…’, true) #5 /var/www/nordicanalytics.dk/public_html/wp-content/themes/enfold/config-templateb in /var/www/nordicanalytics.dk/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php on line 552
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    #1256061

    Same here since version 4.7.6.4….

    
    [27-Oct-2020 11:09:08 UTC] PHP Fatal error:  Uncaught Error: Cannot access protected property avia_sc_toggle::$counter in /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php:552
    Stack trace:
    #0 /home/XXXX/public_html/wp-includes/shortcodes.php(343): avia_sc_tab->av_tab(Array, '', 'av_tab')
    #1 [internal function]: do_shortcode_tag(Array)
    #2 /home/XXXX/public_html/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(av_tab...', 'do_shortcode_ta...', '[av_tab title='...')
    #3 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php(484): do_shortcode('[av_tab title='...')
    #4 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php(499): ShortcodeHelper::avia_remove_autop('[av_tab title='...', true)
    #5 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1042): avia_sc_tab->shortcode_handler(Array, in /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php on line 552
    
    #1256075

    OK, found the bug and a fix…

    Find in the file enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php line 552:

    
        $tab_atts['title'] = avia_sc_toggle::$counter;
    

    Then replace avia_sc_toggle with avia_sc_tab and Save.

    #1256079

    Hey,

    @ravanh Thanks for sharing. We have forwarded the issue to our devs :)

    Cheers!
    Yigit

    #1256109

    Hey Yigit,

    How do I access enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.php?

    Can I do it from the enfold installation in wordpress.

    Please provide a detailed walkthrough!

    #1256110

    and thanks Ravanh :)

    #1256113

    Hi,

    – Please go to Appearance > Editor and then go to /config-templatebuilder/avia-shortcodes/tabs/ and edit tabs.php file
    – Find “avia_sc_toggle” and replace it with “avia_sc_tab”.

    If you would like us to update the file for you, please create temporary admin logins and post them here privately.

    Our devs have already fixed the issue and it will be included in upcoming version :)

    Best regards,
    Yigit

    #1256119

    Super, it works :)

    #1256121

    Hi,

    Great! I am marking this thread as resolved then. If you have any other questions or issues, please feel free to start new threads :)

    Best regards,
    Yigit

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

The topic ‘My page is gone’ is closed to new replies.