Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Supporter timezone: Europe/Madrid (GMT+01:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Carlos Rojas 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
December 3, 2024 at 2:03 pm #16472241

richardK-49

<b>Background of the issue: </b>
I am trying to edit the header using Brickbuilder. I encountered an issue while attempting this task.

<b>Symptoms: </b>
I expected to see the Brick editor, but instead, I got a fatal error:

PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in .../wp-content/themes/bricks/includes/integrations/wpml/wpml.php:794
Stack trace:
BricksIntegrationsWpmlWpml->filter_builder_edit_link()
..../wp-includes/class-wp-hook.php:324
3.
apply_filters()
..../wp-content/themes/bricks/includes/helpers.php:187
4.
BricksHelpers::get_builder_edit_link()
..../wp-content/themes/bricks/includes/builder.php:372
5.
BricksBuilder->enqueue_scripts()
..../wp-includes/class-wp-hook.php:324
8.
do_action()
..../wp-includes/script-loader.php:2272
9.
wp_enqueue_scripts()
..../wp-includes/class-wp-hook.php:324
12.
do_action()
..../wp-includes/general-template.php:3064
13.
wp_head()
..../wp-content/themes/bricks/header.php:7
16.
locate_template()
..../wp-includes/general-template.php:48
17.
get_header()
..../wp-content/themes/bricks/template-parts/builder.php:2
20.
require('/home/precogno/...')
..../index.php:17
21.
{main}
thrown in ..../wp-content/themes/bricks/includes/integrations/wpml/wpml.php on line 794

<b>Questions: </b>
How to resolve?

December 3, 2024 at 2:07 pm #16472329

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

The information on the parts of the error message you shared points to an error on the theme rather than the WPML plugins.

1.- Have you contacted the theme's support service?

2.- Could you share the full error message?

Looking forward to your message.
Regards,
Carlos

The topic ‘[Closed] fatal error with Brickbuilder’ is closed to new replies.