• 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

    (@mmrs151)

    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

    (@hakimsla)

    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

    (@mmrs151)

    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

    Thread Starter hakimsla

    (@hakimsla)

    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

    (@mmrs151)

    hmm,

    its very difficult to say.

    My email is mmrs151@gmail.com, 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

    (@mmrs151)

    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.