Title: Activation errors
Last modified: June 9, 2022

---

# Activation errors

 *  Resolved [mammadz](https://wordpress.org/support/users/mammadz/)
 * (@mammadz)
 * [4 years ago](https://wordpress.org/support/topic/activation-errors-4/)
 * Hi, just installed and activated and ran into these errors. Any hint as to why?
 *     ```
       Warning: filesize(): stat failed for /<rootdir>/wp-content/uploads/wpo/images/wpo_logo_small.png.webp.lossless.webp in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php on line 216
   
       Warning: filesize(): stat failed for /<rootdir>/wp-content/uploads/wpo/images/wpo_logo_small.png.webp.lossless.webp in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php on line 70
   
       Warning: filesize(): stat failed for /<rootdir>/wp-content/uploads/wpo/images/wpo_logo_small.png.webp.lossy.webp in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php on line 70
   
       Warning: unlink(/<rootdir>/wp-content/uploads/wpo/images/wpo_logo_small.png.webp.lossy.webp): No such file or directory in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php on line 76
   
       Warning: rename(/<rootdir>/wp-content/uploads/wpo/images/wpo_logo_small.png.webp.lossless.webp,/<rootdir>/wp-content/uploads/wpo/images/wpo_logo_small.png.webp): No such file or directory in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php on line 77
   
       Warning: mkdir(): File exists in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/SimpleTestFileLineUpper.php on line 14
   
       Fatal error: Uncaught Exception: Failed creating dir: /<rootdir>/wp-content/uploads/wpo//server-signature/off in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/SimpleTestFileLineUpper.php:16 Stack trace: #0 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/SimpleTestFileLineUpper.php(44): HtaccessCapabilityTester\SimpleTestFileLineUpper->writeFileIfMissingOrChanged(Array) #1 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/SimpleTestFileLineUpper.php(94): HtaccessCapabilityTester\SimpleTestFileLineUpper->writeMissingAndChangedFiles(Array) #2 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/Testers/AbstractTester.php(153): HtaccessCapabilityTester\SimpleTestFileLineUpper->lineUp(Array) #3 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/Testers/AbstractTester.php(103): HtaccessCapabilityTester\Testers\AbstractTester->lineUpTestFiles() #4 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/Testers/CustomTester.php(180): HtaccessCapabilityTester\Testers\AbstractTester->prepareForRun('/home/dh_75rp3r...', 'https://staging...') #5 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/Testers/CustomTester.php(222): HtaccessCapabilityTester\Testers\CustomTester->realRun('/home/dh_75rp3r...', 'https://staging...') #6 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/HtaccessCapabilityTester.php(86): HtaccessCapabilityTester\Testers\CustomTester->run('/home/dh_75rp3r...', 'https://staging...') #7 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/HtaccessCapabilityTester.php(210): HtaccessCapabilityTester\HtaccessCapabilityTester->runTest(Object(HtaccessCapabilityTester\Testers\ServerSignatureTester)) #8 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/Testers/HtaccessEnabledTester.php(67): HtaccessCapabilityTester\HtaccessCapabilityTester->serverSignatureWorks() #9 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/HtaccessCapabilityTester.php(86): HtaccessCapabilityTester\Testers\HtaccessEnabledTester->run('/home/dh_75rp3r...', 'https://staging...') #10 /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/HtaccessCapabilityTester.php(128): HtaccessCapabilityTester\HtaccessCapabilityTester->runTest(Object(HtaccessCapabilityTester\Testers\HtaccessEnabledTester)) #11 /<rootdir>/wp-content/plugins/wp-optimize/webp/class-wpo-htaccess-capabilities.php(18): HtaccessCapabilityTester\HtaccessCapabilityTester->htaccessEnabled() #12 /<rootdir>/wp-content/plugins/wp-optimize/webp/class-wpo-htaccess-capabilities.php(31): WPO_Htaccess_Capabilities->__construct() #13 /<rootdir>/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(73): WPO_Htaccess_Capabilities::get_instance() #14 /<rootdir>/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(20): WP_Optimize_WebP->set_rewrite_status() #15 /<rootdir>/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(34): WP_Optimize_WebP->__construct() #16 /<rootdir>/wp-content/plugins/wp-optimize/wp-optimize.php(281): WP_Optimize_WebP::get_instance() #17 /<rootdir>/wp-content/plugins/wp-optimize/wp-optimize.php(579): WP_Optimize->get_webp_instance() #18 /<rootdir>/wp-includes/class-wp-hook.php(307): WP_Optimize->plugins_loaded('') #19 /<rootdir>/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #20 /<rootdir>/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #21 /<rootdir>/wp-settings.php(461): do_action('plugins_loaded') #22 /<rootdir>/wp-config.php(109): require_once('/home/dh_75rp3r...') #23 /<rootdir>/wp-load.php(50): require_once('/home/dh_75rp3r...') #24 /<rootdir>/wp-admin/admin.php(34): require_once('/home/dh_75rp3r...') #25 /<rootdir>/wp-admin/plugins.php(10): require_once('/home/dh_75rp3r...') #26 {main} thrown in /<rootdir>/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src/SimpleTestFileLineUpper.php on line 16
   
       Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /<rootdir>/wp-includes/functions.php on line 5831
   
       Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /<rootdir>/wp-includes/functions.php on line 5831
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years ago](https://wordpress.org/support/topic/activation-errors-4/#post-15725104)
 * [@mammadz](https://wordpress.org/support/users/mammadz/) WP-Optimize is unable
   to create the directory in wp-content folder, please make sure you have 0755 
   permissions set to wp-content folder.
 *  Thread Starter [mammadz](https://wordpress.org/support/users/mammadz/)
 * (@mammadz)
 * [4 years ago](https://wordpress.org/support/topic/activation-errors-4/#post-15725217)
 * Thanks for responding. Permissions were fine on the dir:
 * $ ls -ld wp-content
    drwxr-xr-x 10 XXX YYY 4096 Jun 9 16:56 wp-content
 * Problem may have been related to password protection via htaccess. I’ve allowed
   wp-cron to run via htaccess and now seems to activate fine. Could be helpful 
   for others.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years ago](https://wordpress.org/support/topic/activation-errors-4/#post-15728453)
 * [@mammadz](https://wordpress.org/support/users/mammadz/) Thanks for sharing the
   fix and glad to hear it has been fixed now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Activation errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/activation-errors-4/#post-15728453)
 * Status: resolved