Hi,
I updated WordPress and I set the site tagline. These changes didn't solve the problem. I used the developer tools and I noticed that there were problems with the Toolset scripts. In particular, 403 errors:
------
Failed to load hidden link
resource: the server responded with a status of 403 ()
Failed to load hidden link
resource: the server responded with a status of 403 ()
------
I check the server's Web Application Firewall and I found a lot of errors like the following:
[Sun Jun 11 13:29:38.565849 2023] [:error] [pid 15650:tid 140345656448768] [client 2a02:85f:f56c:a300:486c:d2c8:7929:46be:60818] [client 2a02:85f:f56c:a300:486c:d2c8:7929:46be] ModSecurity: Warning. Pattern match "(?i:(?:\\\\sexec\\\\s+xp_cmdshell)|(?:[\\\\x22'`\\xc3\\x82\\xc2\\xb4\\xc3\\xa2\\xc2\\x80\\xc2\\x99\\xc3\\xa2\\xc2\\x80\\xc2\\x98]\\\\s*?!\\\\s*?[\\\\x22'`\\xc3\\x82\\xc2\\xb4\\xc3\\xa2\\xc2\\x80\\xc2\\x99\\xc3\\xa2\\xc2\\x80\\xc2\\x98\\\\w])|(?:from\\\\W+information_schema\\\\W)|(?:(?:(?:current_)?use ..." at ARGS:loop.item_template. [file "/etc/httpd/conf/modsecurity.d/rules/comodo_free/013_i360_1_generic.conf"] [line "163"] [id "77211650"] [msg "IM360 WAF: Detects MSSQL code execution and information gathering attempts||MVN:ARGS:loop.item_template||MV:<div class=\\"wp-block-toolset-views-view-template-block wpv-block-loop-item php-to-be-replaced-with-shortcode\\" data-toolset-views-view-template-block=\\"1\\"><!-- wp:kadence/infobox {\\"uniqueID\\":\\"_dc9052-ce\\",\\"containerBackground\\":\\"#ffffff\\",\\"containerBackgroundOpacity\\":1,\\"containerHoverBackground\\":\\"#fbfaf8\\",\\"containerHoverBackgroundOpacity\\":1,\\"containerBorder\\":\\"#f3ede1\\",\\"containerHoverBorder\\":\\"#ee2c3c\\",\\"containerBorderWidth\\":[1,1,1,1],\\"containerBorderRadius\\":8 [hostname "staging.targetanalysis.gr"] [uri "/wp-json/toolset-views/v1/views/3557"] [unique_id "ZIWiEgR3WHn7JOkSlHzQ5gAAAUs"], referer: hidden link
[Sun Jun 11 13:29:38.586699 2023] [:error] [pid 15650:tid 140345656448768] [client 2a02:85f:f56c:a300:486c:d2c8:7929:46be:60818] [client 2a02:85f:f56c:a300:486c:d2c8:7929:46be] ModSecurity: Access denied with code 403 (phase 2). Matched phrase "<!--" at ARGS:general.view_template. [file "/etc/httpd/conf/modsecurity.d/rules/comodo_free/07_XSS_XSS.conf"] [line "56"] [id "212340"] [rev "5"] [msg "COMODO WAF: Cross-site Scripting (XSS) Attack||staging.targetanalysis.gr|F|2"] [data "Matched Data: <!-- found within ARGS:general.view_template: <div class=\\x22wp-block-toolset-views-wpa-editor\\x22><!-- wp:uagb/section {\\x22classMigrate\\x22:true,\\x22align\\x22:\\x22full\\x22,\\x22block_id\\x22:\\x225bd2c389\\x22,\\x22bottomPadding\\x22:0,\\x22bottomMargin\\x22:30,\\x22contentWidth\\x22:\\x22full_width\\x22,\\x22innerWidth\\x22:1200,\\x22backgroundType\\x22:\\x22color\\x22,\\x22backgroundColor\\x22:\\x22var(\\x5cu002d\\x5cu002dast-global-color-5)\\x22,\\x22borderStyle\\x22:\\x22\\x22,\\x22borderWidth\\x22:\\x22\\x22,\\x22ov..."] [severity "CRITICAL"] [tag "CWAF"] [tag "XSS"] [hostname "staging.targetanalysis.gr"] [uri "/wp-json/toolset-views/v1/views/3557"] [unique_id "ZIWiEgR3WHn7JOkSlHzQ5gAAAUs"], referer: hidden link
I disable the firewall and the problem is partially solved. The existing archives work properly. However, the new archive (for markets) was created but there are problems with the blocks that display the archive's contents. In the beginning, I used the Kadence Infobox. It had 2 problems. The image was shown in the backend but it wasn't shown in the frontend. The styling of the block worked in the backend but not in the frontend. Afterwards, I used the Toolset container block, heading and image. This solution also had problems, as although it was shown correctly in the backend, in the frontend the heading and the image were shown outside the container. You can see the problems here (in this example, I added both blocks for you to see the problems):
hidden link
The archive page in the WordPress administration is here:
hidden link
Now, the firewall is on, so in the administration, the archive page doesn't work properly. However, you can see the problem in the frontend.
Please check the 403 errors in the backend and tell me if you want to disable the firewall again. Please also check the problems with the blocks.