• Resolved folt

    (@folt)


    I had to deactivate the plugin because the v4.4.1 update broke my site, no images/media loaded and also messed up the content charset so the text content was gibberish too.

    For longer periods the site didn’t even loads and the admin panel wen white with the classic “severe problem” popup.

    After uninstalling everything worked like a charm againso it was definitely the plugins fault.

    • This topic was modified 2 years, 5 months ago by folt.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @folt,

    Thanks for your message.

    What version of the plugin have you used before? After reinstalling the plugin, does the problem recur or not?

    I will be grateful for help in diagnosing the problem. Also enter your website URL if the problem recurs. I’ll check it.

    Best,
    Mateusz

    Hello,

    i have the same Problem. The pictures of my page crashed after the Update. I had previously the Version 4.4.0. And i have to Downgrade to this Version. After the Downgrade it works fine. I cant also deactivate the automatic update function.

    After the update to 4.4.1 i cant use the button “complete regeneration” for all pictures. Maybe is this helpfully.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @kaysalih Can you send a screenshot of the plugin settings?

    I need also configuration of your server (link to it can be found on the settings page of plugin in the section “We are waiting for your message”) – please take a screenshot of the ENTIRE page and send it to me.

    Please make these screenshots using versions 4.4.0 and 4.4.1. It is very important that I can compare it. I would be very grateful for your help.

    Similar issues, after update to 4.4.1, many broken issues.Rolling back to 4.4.0 did fix most of them, but some images are now crashed.

    In admin panel, not loading some .js related with other plugin, that i have noticed.
    I am using Visual Composer on my theme.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @honoluluman Please see my message above – send me the same please. On my test environment, I did not notice a problem. I need more information to diagnose this.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @folt, @kaysalih, @honoluluman I made some changes in version 4.4.1. Unfortunately, I don’t know which one could have caused the problem for you. Therefore, I have prepared 4 test versions of the plugin:

    Version 1:
    https://mattplugins.com/files/webp-converter-for-media-4.4.2-beta1.zip

    Version 2:
    https://mattplugins.com/files/webp-converter-for-media-4.4.2-beta2.zip

    Version 3:
    https://mattplugins.com/files/webp-converter-for-media-4.4.2-beta3.zip

    Version 4:
    https://mattplugins.com/files/webp-converter-for-media-4.4.2-beta4.zip

    Can you check them out and tell me which ones are working and which are having the problem? Each version will let me know if this one particular change is causing you a problem, so it’s important that you check all versions one by one. This will allow me to locate the source of the problem.

    Ten sam problem, po aktualizacji do v 4.4.1 brak obrazów na ca?ej stronie.
    Strona ustawień wtyczki wygl?da jak pierwsza beta, bez grafiki sam tekst.
    Po wy??czeniu wtyczki obrazy wy?wietlaj? si? ponownie.

    • This reply was modified 2 years, 5 months ago by stownetrz.

    Pass-through does not seem to work correctly if SiteURL and HomeURL are different values.
    To address this issue I changed get_home_url() to get_site_url().

    webp-converter-for-media\src\Conversion\Directory\DirectoryIntegration.php

    	/**
    	 * Returns URL of directory.
    	 *
    	 * @param mixed  $value          Default value.
    	 * @param string $directory_type Type of directory.
    	 *
    	 * @return string URL of directory.
    	 * @internal
    	 */
    	public function get_dir_as_url( $value, string $directory_type ): string {
    		$directory_name = apply_filters( 'webpc_dir_name', '', $directory_type );
    		if ( $directory_name === '' ) {
    			if ( isset( $this->directories[ $directory_type ] ) ) {
    				return $this->directories[ $directory_type ]->get_path_url();
    			} else {
    				return $value;
    			}
    		}
    
    		// $source_url = apply_filters( 'webpc_site_url', get_home_url() );
    		$source_url = apply_filters( 'webpc_site_url', get_site_url() );
    		return sprintf( '%1$s/%2$s', $source_url, $directory_name );
    	}
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @mimosamy You cannot edit the plugin files this way, because you will lose your changes when updating the plugin.

    Add this code to the functions.php file in your theme directory:

    add_filter( 'webpc_site_url', function () {
    	return get_site_url();
    } );

    Oh, indeed!
    Thank you.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @folt, @kaysalih, @honoluluman Did you manage to check out these 4 beta versions sent by me? It is very important that I can diagnose the problem.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘4.4.1 Update crashed site’ is closed to new replies.