Title: Message in debug.log &#8211; dynamic-css.php
Last modified: December 1, 2022

---

# Message in debug.log – dynamic-css.php

 *  Resolved [Alexandre](https://wordpress.org/support/users/alexandrecamilo/)
 * (@alexandrecamilo)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/)
 * Since the upgrade to version 6.1.1 of wordpress and version 4.3.6 of evolve, 
   the following messages appear in debug.log:
 * [29-Nov-2022 13:50:25 UTC] PHP Notice: Trying to access array offset on value
   of type bool in /opt/portalteste/wp-content/themes/evolve/inc/dynamic-css.php
   on line 185
    [29-Nov-2022 13:50:25 UTC] PHP Notice: Trying to access array offset
   on value of type bool in /opt/portalteste/wp-content/themes/evolve/inc/dynamic-
   css.php on line 186 [29-Nov-2022 13:50:25 UTC] PHP Notice: Trying to access array
   offset on value of type bool in /opt/portalteste/wp-content/themes/evolve/inc/
   dynamic-css.php on line 187 [29-Nov-2022 13:50:25 UTC] PHP Notice: Trying to 
   access array offset on value of type bool in /opt/portalteste/wp-content/themes/
   evolve/inc/dynamic-css.php on line 188
 * the message appears even with all plugins enabled or disabled

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

 *  Theme Author [Evgeny Viner](https://wordpress.org/support/users/evgenyviner/)
 * (@evgenyviner)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16256435)
 * Hi. What PHP version are you using? We are using 8.1.6 in our test environment,
   WordPress 6.1.1, and Evolve 4.3.6, and there are no errors in the log related
   to the theme. We need to recreate the problem to be able to solve it. Thanks.
 *  Thread Starter [Alexandre](https://wordpress.org/support/users/alexandrecamilo/)
 * (@alexandrecamilo)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16256559)
 * Good evening, I use PHP version 7.4
 *  Thread Starter [Alexandre](https://wordpress.org/support/users/alexandrecamilo/)
 * (@alexandrecamilo)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16370523)
 * Hello, any information?
 *  Theme Author [Evgeny Viner](https://wordpress.org/support/users/evgenyviner/)
 * (@evgenyviner)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16370626)
 * Hello. First, it is important to emphasize that it does not affect the theme’s
   functionality. Second, this warning is easily solved by using the null coalescing
   operator. You can either wait for the next update or send me FTP access to your
   theme, and I will add the code that will stop the warnings from showing up.
 *  [mirceao](https://wordpress.org/support/users/mirceao/)
 * (@mirceao)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16588209)
 * Hello. I have a similar problem. I installed Evolve 4.3.6 with WordPress 6.1.1
   on two different local WP environments (Local and Laragon) and tried both PHP
   7 or PHP 8. Every time I got the following errors on the top of the page:
 * **Warning**: Trying to access array offset on value of type bool in **C:\Users\
   M\Local Sites\imb101\app\public\wp-content\themes\evolve\inc\dynamic-css.php**
   on line **185**
 * **Warning**: Trying to access array offset on value of type bool in **C:\Users\
   M\Local Sites\imb101\app\public\wp-content\themes\evolve\inc\dynamic-css.php**
   on line **186**
 * **Warning**: Trying to access array offset on value of type bool in **C:\Users\
   M\Local Sites\imb101\app\public\wp-content\themes\evolve\inc\dynamic-css.php**
   on line **187**
 * **Warning**: Trying to access array offset on value of type bool in **C:\Users\
   M\Local Sites\imb101\app\public\wp-content\themes\evolve\inc\dynamic-css.php**
   on line **188**
 * I am a beginner in WordPress and I appreciate any help. Thank you.
 *  Theme Author [Evgeny Viner](https://wordpress.org/support/users/evgenyviner/)
 * (@evgenyviner)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16589348)
 * Hi. You can simply turn off the error reporting in wp-config.php. This warning
   affects nothing. It will be fixed in the next update in the upcoming days. Here’s
   how you can disable it: [https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/)
 *  [mirceao](https://wordpress.org/support/users/mirceao/)
 * (@mirceao)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16589796)
 * Thank you so much for the prompt and useful help.

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

The topic ‘Message in debug.log – dynamic-css.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/evolve/4.3.7/screenshot.png)
 * evolve
 * [Support Threads](https://wordpress.org/support/theme/evolve/)
 * [Active Topics](https://wordpress.org/support/theme/evolve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/evolve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/evolve/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [mirceao](https://wordpress.org/support/users/mirceao/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/message-in-debug-log-dynamic-css-php/#post-16589796)
 * Status: resolved