NO BUG: When i click in the element image or logo for add images, it doens't open media page of wp

Browser: Chrome 110 / firefox 111.0
OS: Windows

Hi, I have a site that was working perfectly until yesterday but now if I try to add a logo element or an image element from the builder, and then I go to load the image in the field where I have to load the image and click, nothing happens, it doesn’t open the media page where I can choose the photo I want to insert.

This also happens for the backgrounds and also for the logo and image elements that already have a photo, if in these elements I delete the photo and then click in the field to choose one from the wp media, the wp media does not open, I click and nothing is happening. what happened? why?

If you need parameter for check what i mean let me know.


This htaccess:

# Block the include-only files.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]

# BEGIN WordPress
# Le direttive (linee) tra `BEGIN WordPress` e `END WordPress` sono
# generate dinamicamente, e dovrebbero essere modificate solo tramite i filtri di WordPress.
# Ogni modifica alle direttive tra questi marcatori verrà sovrascritta.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

# SP BEGIN php handler
<IfModule mod_fcgid.c>
          AddHandler fcgid-script .php .php5 .php7 .phtml
          FcgidWrapper    /usr/local/cpanel/cgi-sys/sp-ea-php74 .php
          FcgidWrapper    /usr/local/cpanel/cgi-sys/sp-ea-php74 .php5
          FcgidWrapper    /usr/local/cpanel/cgi-sys/sp-ea-php74 .php7
          FcgidWrapper    /usr/local/cpanel/cgi-sys/sp-ea-php74 .phtml
# SP END php handler

I resolved…it was this code (this is correct):, that it had some mistake…now everything it works fine.


add_action('bricks_before_site_wrapper', function() {

echo '<div id="smooth-wrapper">';

echo '<div id="smooth-content">';


add_action('bricks_after_site_wrapper', function() {

echo '</div>';

echo '</div>';


Thanks for letting us know :slight_smile: