• Resolved caw67

    (@caw67)


    In admin panel, not loading some .js related with other plugin, that i have noticed.
    my client inform me of site not correctly availible. see and deactivated your plugin. it works… version 4.5

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter caw67

    (@caw67)

    version 4.5.1 also crashed the site!
    not all js files from theme is loading

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @caw67,

    Thanks for your message.

    Are you suggesting the problem occurred after upgrading from 4.5.0 to 4.5.1? In this version I have not made any changes to help affect it – the changes only concerned the content of messages displayed in the plugin settings panel.

    Best,
    Mateusz

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @caw67 Please send me the contents of the following file:
    /wp-content/.htaccess

    Then remove it and tell if the problem is gone.

    Thread Starter caw67

    (@caw67)

    this seems to work with version 4.5.1
    add_filter( ‘webpc_htaccess_mod_rewrite_inherit’, ‘__return_false’ );

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @caw67 Could you please send me the contents of .htaccess file from root directory of WordPress?

    Thread Starter caw67

    (@caw67)

    no upgrade was done. the version was 4.5… after a few days the site crashed.
    here is the htacess. but i have installed another plugin for converting

    ## BEGIN EXPIRES CACHING - JCH OPTIMIZE ##
    <IfModule mod_expires.c>
    	ExpiresActive on
    
    	# Your document html
    	ExpiresByType text/html "access plus 0 seconds"
    
    	# Data
    	ExpiresByType text/xml "access plus 0 seconds"
    	ExpiresByType application/xml "access plus 0 seconds"
    	ExpiresByType application/json "access plus 0 seconds"
    
    	# Feed
    	ExpiresByType application/rss+xml "access plus 1 hour"
    	ExpiresByType application/atom+xml "access plus 1 hour"
    
    	# Favicon (cannot be renamed)
    	ExpiresByType image/x-icon "access plus 1 week"
    
    	# Media: images, video, audio
    	ExpiresByType image/gif "access plus 1 year"
    	ExpiresByType image/png "access plus 1 year"
    	ExpiresByType image/jpg "access plus 1 year"
    	ExpiresByType image/jpeg "access plus 1 year"
    	ExpiresByType image/webp "access plus 1 year"
    	ExpiresByType audio/ogg "access plus 1 year"
    	ExpiresByType video/ogg "access plus 1 year"
    	ExpiresByType video/mp4 "access plus 1 year"
    	ExpiresByType video/webm "access plus 1 year"
    
    	# HTC files (css3pie)
    	ExpiresByType text/x-component "access plus 1 year"
    
    	# Webfonts
    	ExpiresByType application/font-ttf "access plus 1 year"
    	ExpiresByType font/* "access plus 1 year"
    	ExpiresByType application/font-woff "access plus 1 year"
    	ExpiresByType application/font-woff2 "access plus 1 year"
    	ExpiresByType image/svg+xml "access plus 1 year"
    	ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
    
    	# CSS and JavaScript
    	ExpiresByType text/css "access plus 1 year"
    	ExpiresByType type/javascript "access plus 1 year"
    	ExpiresByType application/javascript "access plus 1 year"
    
    	<IfModule mod_headers.c>
    		Header append Cache-Control "public"
    		<FilesMatch ".(js|css|xml|gz|html)$">
    			Header append Vary: Accept-Encoding
    		</FilesMatch>
    	</IfModule>
    
    </IfModule>
    
    <IfModule mod_brotli.c>
    	<IfModule mod_filter.c>
    		AddOutputFilterByType BROTLI_COMPRESS text/html text/xml text/plain 
    		AddOutputFilterByType BROTLI_COMPRESS application/rss+xml application/xml application/xhtml+xml 
    		AddOutputFilterByType BROTLI_COMPRESS text/css 
    		AddOutputFilterByType BROTLI_COMPRESS text/javascript application/javascript application/x-javascript 
    		AddOutputFilterByType BROTLI_COMPRESS image/x-icon image/svg+xml
    		AddOutputFilterByType BROTLI_COMPRESS application/rss+xml
    		AddOutputFilterByType BROTLI_COMPRESS application/font application/font-truetype application/font-ttf
    		AddOutputFilterByType BROTLI_COMPRESS application/font-otf application/font-opentype
    		AddOutputFilterByType BROTLI_COMPRESS application/font-woff application/font-woff2
    		AddOutputFilterByType BROTLI_COMPRESS application/vnd.ms-fontobject
    		AddOutputFilterByType BROTLI_COMPRESS font/ttf font/otf font/opentype font/woff font/woff2
    	</IfModule>
    </IfModule>
    
    <IfModule mod_deflate.c>
    	<IfModule mod_filter.c>
    		AddOutputFilterByType DEFLATE text/html text/xml text/plain 
    		AddOutputFilterByType DEFLATE application/rss+xml application/xml application/xhtml+xml 
    		AddOutputFilterByType DEFLATE text/css 
    		AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript 
    		AddOutputFilterByType DEFLATE image/x-icon image/svg+xml
    		AddOutputFilterByType DEFLATE application/rss+xml
    		AddOutputFilterByType DEFLATE application/font application/font-truetype application/font-ttf
    		AddOutputFilterByType DEFLATE application/font-otf application/font-opentype
    		AddOutputFilterByType DEFLATE application/font-woff application/font-woff2
    		AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    		AddOutputFilterByType DEFLATE font/ttf font/otf font/opentype font/woff font/woff2
    	</IfModule>
    </IfModule>
    
    # Don't compress files with extension .gz or .br
    <IfModule mod_rewrite.c>
    	RewriteRule "\.(gz|br)$" "-" [E=no-gzip:1,E=no-brotli:1]
    </IfModule>
    
    <IfModule !mod_rewrite.c>
    	<IfModule mod_setenvif.c>
    		SetEnvIfNoCase Request_URI \.(gz|br)$ no-gzip no-brotli
    	</IfModule>
    </IfModule>
    ## END EXPIRES CACHING - JCH OPTIMIZE ##
    
    AddType application/x-httpd-php74 .php
    
    # BEGIN WordPress
    # Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind
    # dynamisch generiert und sollten nur über WordPress-Filter geändert werden.
    # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben.
    
    # BEGIN Images to WebP
    <IfModule mod_mime.c>
    AddType image/webp .webp
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_ACCEPT} image/webp
    RewriteCond %{REQUEST_FILENAME} "/"
    RewriteCond %{REQUEST_FILENAME} "\.(jpg|jpeg|gif|png)$"
    RewriteCond %{REQUEST_FILENAME}\.webp -f
    RewriteRule ^(.+)$ $1\.webp [NC,T=image/webp,E=webp,L]
    </IfModule>
    # END Images to WebP
    
    <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]
    </IfModule>
    
    # END WordPress
    Thread Starter caw67

    (@caw67)

    after a few weeks the site crashed.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @caw67 I understand. In this situation, you should use the filter you mentioned.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin crahed site, theme and other functions’ is closed to new replies.