8Themes Brand List returning error 'Illegal string offset 'T'

This topic has 6 replies, 4 voices, and was last updated 6 years, 9 months ago ago by Rose Tyler

  • Avatar: thisisbolo
    thisisbolo
    Participant
    January 7, 2018 at 20:43

    The ‘8Themes Brand List’ is returning an error. Not sure if it’s a plugin conflict but this shows up on debug mode otherwise it doesn’t render anything.

    Warning: Illegal string offset ‘T’ in /wp-content/themes/xstore/framework/shortcodes/brands_list.php on line 43

    Fatal error: Uncaught Error: Cannot use string offset as an array in /wp-content/themes/xstore/framework/shortcodes/brands_list.php:43 Stack trace: #0 /wp-includes/shortcodes.php(319): etheme_brands_list_shortcode(Array, ”, ‘etheme_brands_l…’) #1 [internal function]: do_shortcode_tag(Array) #2 /wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(etheme…’, ‘do_shortcode_ta…’, ‘[etheme_brands_…’) #3 /wp-content/plugins/js_composer/include/helpers/helpers.php(232): do_shortcode(‘[etheme_brands_…’) #4 /wp-content/plugins/js_composer/include/templates/shortcodes/vc_column_inner.php(50): wpb_js_remove_wpautop(‘[etheme_brands_…’) #5 /wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(473): include(‘/Users/$$$/…’) #6 /wp-content/plugins/js_composer/include/classes/shor in /wp-content/themes/xstore/framework/shortcodes/brands_list.php on line 43

    5 Answers
    Avatar: riffazstarr
    Riffaz
    Member
    January 8, 2018 at 05:45

    Hi,

    since it’s in local host we can not check it.
    please upload your site to a live server and let us know the login credentials to check this.

    Avatar: thisisbolo
    thisisbolo
    Participant
    January 9, 2018 at 03:18

    @Riffaz – thanks for your reply. So I spent some time trying to figure out the root cause, deactivating plugins, running debug mode, and all that other troubleshooting stuff. I seem to have uncovered the issue. I had MAMP running at PHP Version 7.1.8. When I ran MAMP at PHP Version 7.0.22, the ‘8Theme Brands List’ in Visual Composer began working again. Can you take this back to the dev team?

    Live hostings running at 7.0.22 so it shouldn’t be any issue when I go live but this could affect other users of the theme if they upgrade their PHP to 7.1.8.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 9, 2018 at 15:16

    Hello,

    Open the file framework\shortcodes\brands_list.php and replace the code in 1 by code in 2 http://prntscr.com/hy1v1s

    We’ll also fix it in next theme update.

    Regards

    Avatar: thisisbolo
    thisisbolo
    Participant
    January 10, 2018 at 04:33

    Thank you Olga!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 10, 2018 at 14:13

    Hello,

    You’re welcome!
    This topic will be closed because the issue is solved. Please kindly open up new tickets for additional questions.

    Regards

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

The issue related to '‘8Themes Brand List returning error 'Illegal string offset 'T'’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

Helpful Topics

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