Hi, Iâm getting a similar error, and hoping that a new release will fix this. @charaf you mentioned it will be fixed in the ânew release this weekâ. Which release # should I be looking for? 1.9.1.1 breaks part of my site. 1.9 works fine.
my error is:
Fatal error: Uncaught Error: Class "Bricks\Integrations\Wpml\Wpml" not found in /Users/joe/Srv/ignite-reading/app/public/wp-content/themes/bricks/includes/init.php:112 Stack trace: #0 /Users/joe/Srv/ignite-reading/app/public/wp-content/themes/bricks/includes/init.php(58): Bricks\Theme->init() #1 /Users/joe/Srv/ignite-reading/app/public/wp-content/themes/bricks/includes/init.php(171): Bricks\Theme->__construct() #2 /Users/joe/Srv/ignite-reading/app/public/wp-content/themes/bricks/includes/init.php(179): Bricks\Theme::instance() #3 /Users/joe/Srv/ignite-reading/app/public/wp-content/themes/bricks/functions.php(120): require_once('/Users/joe/Srv/...') #4 /Users/joe/Srv/ignite-reading/app/public/wp-settings.php(600): include('/Users/joe/Srv/...') #5 /Users/joe/Srv/ignite-reading/app/public/wp-config.php(103): require_once('/Users/joe/Srv/...') #6 /Users/joe/Srv/ignite-reading/app/public/wp-load.php(50): require_once('/Users/joe/Srv/...') #7 /Users/joe/Srv/ignite-reading/app/public/wp-blog-header.php(13): require_once('/Users/joe/Srv/...') #8 /Users/joe/Srv/ignite-reading/app/public/index.php(17): require('/Users/joe/Srv/...') #9 {main} thrown in /Users/joe/Srv/ignite-reading/app/public/wp-content/themes/bricks/includes/init.php on line 112`Preformatted text`
And when I synchronize the others languages so they receive the same Bricks content (+ resigning shortcodes), I have this error on the translated pages âError: Class âBricksQueryâ not foundâ:
Alright I found the issue⊠Somehow Bricks is removing any "" in my code.
When I edit the alternative language page with Bricks, hereâs the content of my code element:
So thatâs why itâs not working⊠Is it a previous security feature that you guys implemented that introduce this bug? @thomas
The issue is that the â\â are removed, which breaks the query. When you look at the translated codeblock you see that all \ are missing.
Just add these and the query should work on the translated page
Yeah, instead (because I donât want to have to edit all my translate bricks page) I use my own PHP function that run âreturn \Bricks\Query::get_loop_object();â
It seems we missed updating this forum thread. For the record, the original issue reported here was fixed back in version 1.9.2
@Adrien, your issue is different from the one initially reported in this thread (though it was tagged âWIPâ, which might have caused some confusion). Could you please create a separate report for your issue so we can address it there? As @albertvisuals mentioned, itâs related to slashes being removed, so weâll look into whether this is due to Bricks or WPML.
I think I have a same problem. Website was built in Bricks and today I installed WPML to translate it. When I enable plugin and string addon for WPML website breaks.
@jahaweb please get in touch with us at help@bricksbuilder.io with temporary admin access to the site and the exact issues youâre facing so we can try to help