Title: PHP Warning Cyberpanel Error Logs
Last modified: September 19, 2021

---

# PHP Warning Cyberpanel Error Logs

 *  Resolved [AR](https://wordpress.org/support/users/sohel9875/)
 * (@sohel9875)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-cyberpanel-error-logs/)
 * continuously generating this error, for what error showing purpose I replace 
   my domain to example.com in the Pastebin, kindly check
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-cyberpanel-error-logs%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-cyberpanel-error-logs/#post-14887283)
 * that’s an annoying but mostly harmless (hence a notice and not a warning or error)
   race condition. you can try below code snippet which in most cases helps avoid(
   or lessen) these notices,
 *     ```
       add_filter( 'autoptimize_filter_cache_checkdirs_on_write', '__return_true' );
       ```
   
 * hope this helps,
    frank
 *  Thread Starter [AR](https://wordpress.org/support/users/sohel9875/)
 * (@sohel9875)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-cyberpanel-error-logs/#post-14887360)
 * Where I have put this code in wordpress theme editor function.php ?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-cyberpanel-error-logs/#post-14887828)
 * The easiest & safest solution is using [the code snippets plugin](https://wordpress.org/plugins/code-snippets/).
 *  [sanad990](https://wordpress.org/support/users/sanad990/)
 * (@sanad990)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-cyberpanel-error-logs/#post-14908940)
 * hello pro AR
    if y need to fix mobile URL ?m=1
 * edit the code in htacc…
 *     ```
       Hope this helps just after RewriteEngine On
       RewriteCond %{QUERY_STRING} ^m=1$
       RewriteRule ^(.*)$ /$1? [R=301,L]
       ```
   

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

The topic ‘PHP Warning Cyberpanel Error Logs’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [sanad990](https://wordpress.org/support/users/sanad990/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-cyberpanel-error-logs/#post-14908940)
 * Status: resolved