[wp-trac] [WordPress Trac] #52790: Reusable blocks disappeared

WordPress Trac noreply at wordpress.org
Sat Mar 13 10:25:23 UTC 2021


#52790: Reusable blocks disappeared
-------------------------------+---------------------
 Reporter:  jordiparera        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  5.7.1
Component:  Editor             |     Version:  5.7
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+---------------------

Comment (by mansoor1):

 Hi @hellofromTonya,

 Its a 3 weeks old fresh installed WordPress Version 5.6.2 with the
 freeversion of the Theme Astra Version 3.1.2
 (https://wordpress.org/themes/astra/) and these Plugins are installed:
 - iThemes Security Pro Version 6.8.3
 - Maintenance Version 4.02 https://wordpress.org/plugins/maintenance/
 - MainWP Child Version 4.1.4 https://wordpress.org/plugins/mainwp-child/
 - WP Rocket Version 3.8.6
 - Matomo Analytics 4.2.0 https://wordpress.org/plugins/matomo/

 I did the Update with the Browser Google Chrome Version 89.0.4389.82
 running on my Apple Macbook Pro 16 macOS BigSur Version 11.2.3.

 I also revert the update via Serverautobackupsystem.
 But all 3 times after Update to Version 5.7 i got the Issue with the
 broken Reusable Blocks.

 Server
 {{{
 Server architecture     Linux 2.6.32-openvz-042stab145.3-amd64 x86_64
 Web server      nginx/1.19.6
 PHP version     7.4.15 (Supports 64bit values)
 PHP SAPI        fpm-fcgi
 PHP max input variables 10000
 PHP time limit  1200
 PHP memory limit        -1
 Max input time  1200
 Upload max filesize     512M
 PHP post max size       512M
 cURL version    7.52.1 OpenSSL/1.0.2u
 Is SUHOSIN installed?   No
 Is the Imagick library available?       Yes
 Are pretty permalinks supported?        Yes
 .htaccess rules Your .htaccess file contains only core WordPress features.
 }}}

 Filesystem Permissions
 {{{
 The main WordPress directory    Writable
 The wp-content directory        Writable
 The uploads directory   Writable
 The plugins directory   Writable
 The themes directory    Writable
 }}}

 Media Handling
 {{{
 Active editor   WP_Image_Editor_Imagick
 ImageMagick version number      1800
 ImageMagick version string      ImageMagick 7.0.8-66 Q16 x86_64 2019-09-23
 https://imagemagick.org
 File uploads    Enabled
 Max size of post data allowed   512M
 Max size of an uploaded file    512M
 Max effective file size 512 MB
 Max number of files allowed     20
 Imagick Resource Limits
 area: 128 GB
 disk: 9.2233720368548E+18
 file: 768
 map: 128 GB
 memory: 64 GB
 thread: 1
 GD version      bundled (2.1.0 compatible)
 Ghostscript version     9.26
 }}}

 NGINX vHost Config
 {{{
 server {
         listen 52.140.164.76:80;

         listen 52.140.164.76:443 ssl http2;
                 ssl_protocols TLSv1.2;
         ssl_certificate
 /var/www/clients/client32/web248/ssl/mydomain.com.crt;
         ssl_certificate_key
 /var/www/clients/client32/web248/ssl/mydomain.com.key;

         server_name mydomain.com *.mydomain.com;

         root   /var/www/mydomain.com/web/current;

         location ~ /\.well-known/acme-challenge/ {
            root /usr/local/ispconfig/interface/acme/;
            index index.html index.htm;
            try_files $uri =404;
         }
 if ($uri ~ /\.well-known/acme-challenge/) {
            break;
 }

         if ($scheme != "https") {
             rewrite ^ https://$http_host$request_uri? permanent;
         }


         index index.html index.htm index.php index.cgi index.pl
 index.xhtml;





         error_page 400 /error/400.html;
         error_page 401 /error/401.html;
         error_page 403 /error/403.html;
         error_page 404 /error/404.html;
         error_page 405 /error/405.html;
         error_page 500 /error/500.html;
         error_page 502 /error/502.html;
         error_page 503 /error/503.html;
         recursive_error_pages on;
         location = /error/400.html {

             internal;
         }
         location = /error/401.html {

             internal;
         }
         location = /error/403.html {

             internal;
         }
         location = /error/404.html {

             internal;
         }
         location = /error/405.html {

             internal;
         }
         location = /error/500.html {

             internal;
         }
         location = /error/502.html {

             internal;
         }
         location = /error/503.html {

             internal;
         }




         error_log /var/log/ispconfig/httpd/mydomain.com/error.log;
         access_log /var/log/ispconfig/httpd/mydomain.com/access.log
 combined;

         location ~ /\.(?!well-known/) {
             deny all;
             access_log off;
             log_not_found off;
         }

         location = /favicon.ico {
             log_not_found off;
             access_log off;
         }

         location = /robots.txt {
             allow all;
             log_not_found off;
             access_log off;
         }



         location ~ \.php$ {
             try_files /55bf8b1d1b1eff10621d62434c66f75d.htm @php;
         }

         location @php {
             try_files $uri =404;
             include /etc/nginx/fastcgi_params;
             fastcgi_pass unix:/var/lib/php5-fpm/web248.sock;
             fastcgi_index index.php;
             fastcgi_param SCRIPT_FILENAME
 $document_root$fastcgi_script_name;
             fastcgi_intercept_errors on;
         }






         brotli_comp_level 9;

         location / {
             client_max_body_size 100M;

             add_header Referrer-Policy origin always;
             add_header X-Content-Type-Options "nosniff" always;
             add_header X-XSS-Protection "1; mode=block" always;


             rewrite /wp-admin$ $scheme://$host$uri/ permanent;

             location ~*  \.(jpg|jpeg|png) {
                 if ($http_accept !~* "webp") {
                     break;
                }
                try_files /imageconverter.php?path=$request_uri
 /imageconverter.php?path=$request_uri&optimize=true;
             }

             location ~*
 \.(jpg|jpeg|png|gif|css|js|svg|ico|webp|eot|otf|woff|woff2|ttf)$ {
                 expires 30d;
                 log_not_found off;
             }

             location ~ js/container_.*_preview\.js$ {
                 expires off;
                 add_header Cache-Control 'private, no-cache, no-store';
             }

             error_page 418 = @cachemiss;
             if ($request_method = POST) {
                 return 418;
             }
             if ($query_string != "") {
                 return 418;
             }
             if ($http_cookie ~* "wordpress_logged_in_") {
                 return 418;
             }
             if ($http_cookie ~* "comment_author_") {
                 return 418;
             }
             if ($http_cookie ~* "wp_postpass_") {
                 return 418;
             }

             try_files  /wp-content/cache/wp-
 rocket/$http_host/${request_uri}index-https.html =418;

             add_header "FP-Cache" "HIT";
             expires 7d;
             add_header "Cache-Control" "max-age=10, must-revalidate";

             location ~ \.php$ {
                 try_files  /wp-content/cache/wp-
 rocket/$http_host/${request_uri}index-https.php  /wp-content/cache/wp-
 rocket/$http_host/${request_uri}/index-https.php $uri $uri/;

                 include /etc/nginx/fastcgi_params;

                 fastcgi_pass unix:/var/lib/php5-fpm/web248.sock;
                 fastcgi_index index.php;
                 fastcgi_param SCRIPT_FILENAME
 $document_root$fastcgi_script_name;
                 fastcgi_intercept_errors off;

                 fastcgi_temp_file_write_size 10m;
                 fastcgi_busy_buffers_size    512k;
                 fastcgi_buffer_size          512k;
                 fastcgi_buffers           16 512k;
                 fastcgi_read_timeout 1200;

                 add_header "FP-Cache" "MISS";
                 add_header "Cache-Control" "no-store, no-cache, must-
 revalidate, max-age=0";
                 add_header "Pragma" "no-cache";

                     }
         }

         location @cachemiss {
             try_files $uri $uri/ /index.php$is_args$args;
         }





 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52790#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list