wpsnoop: fix Autoptimize plugin conflicts, errors & issues
When the plugin Autoptimize conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.
Discover which shortcodes wp-options PHP functions database tables and files are created by Autoptimize, plus learn which plugins and/or themes could be in conflict with Autoptimize.
Troubleshooting theme and plugin conflicts is easier when you know what Autoptimize leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.
Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for Autoptimize
When you need professional help with WordPress: get help here
What does Autoptimize version 2.9.5.1 add to WordPress? Answers Here.
This is an automatically generated report - it is possible for Autoptimize to perform differently in your installation, previous versions before 2.9.5.1 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 2.9.5.1 of Autoptimize behaves when installed and removed on a clean installation of WordPress.
We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for Autoptimize by clicking here.
Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.
Summary of WordPress plugin analysis: Autoptimize
Which new files does Autoptimize add to WordPress?
This section will populate with a table showing an icon, size and filepath.
Type & Path | Size | Conflicts |
---|---|---|
wp-content/cache/ | 1.23kB | The wp-content/cache/ directory has potential conflicts with at least 60 other plugins or themes. |
wp-content/uploads/ | The wp-content/uploads/ directory has potential conflicts with at least 1495 other plugins or themes. | |
wp-content/uploads/ao_ccss/ | The wp-content/uploads/ao_ccss/ directory has potential conflict with at least 1 other plugin or theme. | |
wp-content/autoptimize_404_handler.php | 2.20kB | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/ | 1.23kB | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/.htaccess | 693.00B | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/css/ | 189.00B | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/css/index.html | 189.00B | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/index.html | 189.00B | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/js/ | 189.00B | No known conflicts with other themes or plugins. |
wp-content/cache/autoptimize/js/index.html | 189.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/ | 824.47kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/autoptimize_helper.php_example | 5.33kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/autoptimize.php | 3.18kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/ | 753.36kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeBase.php | 22.77kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCache.php | 28.58kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCacheChecker.php | 5.22kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCLI.php | 743.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeConfig.php | 48.48kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSBase.php | 9.00kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php | 27.82kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php | 44.01kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSEnqueue.php | 15.77kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSSettings.php | 21.82kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSSettingsAjax.php | 17.88kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeCSSmin.php | 1.10kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeExitSurvey.php | 6.87kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeExtra.php | 29.85kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeHTML.php | 3.85kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeImages.php | 65.45kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeMain.php | 33.13kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeMetabox.php | 12.18kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeOptionWrapper.php | 6.53kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizePartners.php | 4.77kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeScripts.php | 28.99kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeSpeedupper.php | 4.37kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeStyles.php | 52.10kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeToolbar.php | 6.59kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeUtils.php | 19.18kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/autoptimizeVersionUpdatesHandler.php | 10.57kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/ | 96.94kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_adv.php | 10.59kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_debug.php | 2.42kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_explain.php | 2.82kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_impexp.js.php | 2.06kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_key.php | 3.45kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_queue.js.php | 11.38kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_queue.php | 7.14kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_rules.js.php | 17.40kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/admin_settings_rules.php | 14.33kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/ | 5.05kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/admin_styles.css | 3.88kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/ao-tablesorter/ | 1.18kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/ao-tablesorter/asc.gif | 54.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/ao-tablesorter/bg.gif | 64.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/ao-tablesorter/desc.gif | 54.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/css/ao-tablesorter/style.css | 1.01kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/js/ | 20.29kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/js/admin_settings.js | 393.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/js/jquery.tablesorter.min.js | 16.23kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/critcss-inc/js/md5.min.js | 3.68kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/ | 106.90kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/do_not_donate_smallest.png | 9.36kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/index.html | 190.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/ | 21.28kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/index.html | 190.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/jquery.cookie.js | 3.57kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/jquery.cookie.min.js | 808.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/lazysizes.min.js | 9.58kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/unslider-dots.css | 778.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/unslider-min.js | 5.83kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/js/unslider.css | 574.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/ | 76.08kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/ao-minify-html.php | 8.63kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/index.html | 190.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/jsmin.php | 15.92kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/persist-admin-notices-dismissal/ | 9.28kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/persist-admin-notices-dismissal/dismiss-notice.js | 868.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php | 3.95kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/persist-admin-notices-dismissal/README.md | 4.49kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/yui-php-cssmin-bundled/ | 42.06kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/yui-php-cssmin-bundled/Colors.php | 5.37kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/yui-php-cssmin-bundled/index.html | 190.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/yui-php-cssmin-bundled/Minifier.php | 32.51kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/external/php/yui-php-cssmin-bundled/Utils.php | 3.99kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/index.html | 189.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/ | 21.72kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/exit-survey/ | 9.02kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/exit-survey/exit-survey.css | 3.74kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/exit-survey/exit-survey.js | 5.28kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/loading.gif | 4.53kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/toolbar.css | 4.68kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/classes/static/toolbar.js | 3.49kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/config/ | 5.25kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/config/autoptimize_404_handler.php | 2.16kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/config/default.php | 2.92kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/config/index.html | 189.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/index.html | 189.00B | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/LICENSE | 17.60kB | No known conflicts with other themes or plugins. |
wp-content/plugins/autoptimize/readme.txt | 39.56kB | No known conflicts with other themes or plugins. |
Which new shortcodes does Autoptimize add to WordPress?
Which new options are added to the wp-options table by Autoptimize?
Option Name | Known Conflicts | |
---|---|---|
autoptimize_ccss_version | Potential conflict with 1 plugin or theme | |
autoptimize_version | The autoptimize_version option doesn't have any known conflicts with other themes or plugins. | |
During use Autoptimize may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.
What new PHP functions does Autoptimize declare when it is active?
Function | Conflicts | Common Errors | |
---|---|---|---|
autoptimize | 0 conflicts | Fatal error: Cannot redeclare autoptimize() | |
autoptimize_autoload | 0 conflicts | Fatal error: Cannot redeclare autoptimize_autoload() |
Using Autoptimize from the command line with WP-CLI
The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.
How to install Autoptimize from the command line with WP-CLI
Navigate to the root of your WordPress installation and type the following command:
How to activate Autoptimize from the command line with WP-CLI
To immediately activate Autoptimize after WP-CLI downloads the latest version you can use the following command:
How to reinstall Autoptimize from the command line with WP-CLI
To force a reinstallation of Autoptimize which overwrites the current plugin without asking for confirmation you can use the following command:
How to update Autoptimize to the latest version from the command line with WP-CLI
How to delete Autoptimize from the command line with WP-CLI
Where can you download earlier versions of Autoptimize?
Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of Autoptimize from the WordPress repository by visiting this link.
Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in Autoptimize
About our testing enviroment
Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9
It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with Autoptimize. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.