Fatal error: Uncaught Error: [] operator not supported for strings
-
Hi,
I am trying to make a website / portfolio using Polylang and Plexx theme
When i activate the portfolio in custom posts in the Polylang settings several bad things happen in 2 of the available portfolio types (columns and packery) but things do work in the full screen version of the portfolio.I have contacted the theme maker, because at first I thought it would be their issue (since some templates work and others don’t)
But since the error I get is all about Polylang the theme maker thinks its a bug in Polylang and therefore I thought I’d post here as well.This is what happens:
– the portfolio shows no images
– the admin bar disappears on pages that have this portfolio
– I get this error if I turn on WP_debug:Fatal error: Uncaught Error: [] operator not supported for strings in /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-content/plugins/polylang/include/query.php:109 Stack trace: #0 /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-content/plugins/polylang/include/query.php(166): PLL_Query->set_language(Object(PLL_Language)) #1 /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-content/plugins/polylang/frontend/frontend.php(127): PLL_Query->filter_query(Object(PLL_Language)) #2 /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-includes/class-wp-hook.php(286): PLL_Frontend->parse_query(Object(WP_Query)) #3 /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #5 /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-includes/class-wp-query.php(1006): do_action_ref_array(‘parse_query’, Array) #6 /Volumes/Mac_Data/ opdrac in /Volumes/Mac_Data/ opdrachten 1/PHPSITES/vrijformaat/wp-content/plugins/polylang/include/query.php on line 109
I can’t test this with another theme because it is all about the portfolio of this theme (the rest works as expected)
I hope someone can help! Thanks in advance.
- The topic ‘Fatal error: Uncaught Error: [] operator not supported for strings’ is closed to new replies.