Title: Undefined variable: css
Last modified: March 2, 2019

---

# Undefined variable: css

 *  [hakimsla](https://wordpress.org/support/users/hakimsla/)
 * (@hakimsla)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-css/)
 * Salam,
 * Can someone help?
    I have an error when using plugin in /wp-content/plugins/daily-
   prayer-time-for-mosques/Models/UpdateStyles.php on line 130
 * I am using Version 2019.3.1
    WP Version: 5.1 hp 7.1 Thanks

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

 *  Plugin Author [mmrs151](https://wordpress.org/support/users/mmrs151/)
 * (@mmrs151)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11267994)
 * Wassalam,
    Interesting, I don’t see that. However, can you edit the UpdateStyles.
   php and put this code on line 38 please,
 *  `$css = "";`
 * Please let me know if that fixes your issue.
 * Mustafiz.
 *  Thread Starter [hakimsla](https://wordpress.org/support/users/hakimsla/)
 * (@hakimsla)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11270534)
 * Salam,
 * Thanks for the replay after putting $css = “”; I am having other errors
 * Notice: Undefined variable: nextIqamah in /wp-content/plugins/daily-prayer-time-
   for-mosques/Views/DailyTimetablePrinter.php on line 278
 * Notice: Undefined variable: ramadan in /wp-content/plugins/daily-prayer-time-
   for-mosques/Views/DailyTimetablePrinter.php on line 281
 * Notice: Undefined index: : in /wp-content/plugins/daily-prayer-time-for-mosques/
   Views/TimetablePrinter.php on line 224
 * Notice: Undefined index: in /wp-content/plugins/daily-prayer-time-for-mosques/
   Views/TimetablePrinter.php on line 224
    …..
 * Thanks
 *  Plugin Author [mmrs151](https://wordpress.org/support/users/mmrs151/)
 * (@mmrs151)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11272553)
 * hmm, looks like you php error settings is quite restrict.
    This notices are not
   really errors. Can you please turn the notices off? There are couple of ways.
   You will need to find the php.ini file and update these settings, error_reporting
   = E_ALL & ~E_NOTICE
 * [https://stackoverflow.com/questions/2867057/how-do-i-turn-off-php-notices](https://stackoverflow.com/questions/2867057/how-do-i-turn-off-php-notices)
 *  Thread Starter [hakimsla](https://wordpress.org/support/users/hakimsla/)
 * (@hakimsla)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11272736)
 * Salam ,
 * In php.ini
    the setting is error_reporting = E_ALL & ~E_NOTICE
 * now I have 500 Error. Internal Server Error. when I disable the plugin is working
   fine
    any idea of this behavior.
 * Thanks
 *  Plugin Author [mmrs151](https://wordpress.org/support/users/mmrs151/)
 * (@mmrs151)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11282482)
 * hmm,
 * its very difficult to say.
 * My email is [mmrs151@gmail.com](https://wordpress.org/support/topic/undefined-variable-css/mmrs151@gmail.com?output_format=md),
   if you want I can give you some time on the google hangout and we can try to 
   sort out the issues inshaaAllah.
 * Mustafiz.
 *  Plugin Author [mmrs151](https://wordpress.org/support/users/mmrs151/)
 * (@mmrs151)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11282500)
 * btw, I am on php 7.2 and my error reporting is error_reporting = E_ALL but I 
   still don’t see any notices.
 * And I don’t have any other brother having the same issue either, so I am not 
   sure what is causing it.
 * Lets see your possible fix on the hangout.

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

The topic ‘Undefined variable: css’ is closed to new replies.

 * ![](https://ps.w.org/daily-prayer-time-for-mosques/assets/icon-128x128.png?rev
   =1215663)
 * [Daily Prayer Time](https://wordpress.org/plugins/daily-prayer-time-for-mosques/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/daily-prayer-time-for-mosques/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/daily-prayer-time-for-mosques/)
 * [Active Topics](https://wordpress.org/support/plugin/daily-prayer-time-for-mosques/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/daily-prayer-time-for-mosques/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/daily-prayer-time-for-mosques/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 6 replies
 * 2 participants
 * Last reply from: [mmrs151](https://wordpress.org/support/users/mmrs151/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-css/#post-11282500)
 * Status: not resolved