• Resolved waye1234

    (@waye1234)


    Hi there!

    Really neat plugin I managed to increase my score on Google pagespeed test with 6 points!

    However after activating asset optimization I no longer can see my website logo and I can’t access Elementor or any other tools for editing the page. The logged in header just dissapeared. I tried disabling the plugin but to no avail nothing seems to help.

    Any ideas?

    Best,
    Benjamin

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter waye1234

    (@waye1234)

    It seems the js and css remains minified after removing the plugin, if I delete all the min files will this fix the issue?

    Best,
    Benjamin

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @waye1234

    I trust you are doing well!

    When the plugin is deactivated it stops applying any optimization on files. Unless the page is cached, and you are seeing a cached version of your site, then the files are minified by another plugin/theme.

    Make sure to clear your site’s cache.

    I’ve visited the site that you’ve shared in this thread, but I’m afraid it is not loading. Have you enabled any options in Asset Optimization and this issue appeared?

    Options for CSS/JS, like Compress, Combine, Inline and etc, need to be enabled one at a time. Not all files can be optimized, it depends on how they were developed in the first place and the combination of the assets that are loading on your site.

    When optimizing assets, enable one option, save the changes and view the site’s front end. If something will be broken, it means that the file can’t be optimized in that way, unselect the last enabled option and continue to the next one.

    Hope this helps!

    Kind regards,
    Nastia

    Thread Starter waye1234

    (@waye1234)

    Oh I’m sorry for some reason I shared the old link! It is tidanapp.com/shop

    I’ve cleared my site’s cache and checking the source files I find .min files of every CSS and JS file. So it seems the minification is still active? I am not sure what files a minified so I am having some trouble debugging it. What can it be that causes the Astra theme to stop working?

    Best,
    Benjamin

    @waye1234,

    A lot of the assets have the .min extension by default. If you want to force WordPress to use uncompressed versions of all assets, you can add:

    define( 'SCRIPT_DEBUG', true );

    to your wp-config.php file.

    Best regards,
    Anton

    Thread Starter waye1234

    (@waye1234)

    Hi there! So for all interested in the happy conclusion of this ticket the error was due to me force redirecting the user to https which was not the siteurl! Spent days trying to fix this silly little error ?? Check SiteHealth to see if this could be you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Activated Asset optimization now can’t see header logo’ is closed to new replies.