Support » Plugin: Timetable and Event Schedule by MotoPress » php error in line 330

  • Resolved flinnn

    (@flinnn)


    I’ve installed the plugin, it worked fine. But suddenly my entire website stopped working. I investigated the error and found the culprit.
    A single line of code in Mp-Timetable caused millions of php-errors.

    A non-numeric value encountered
    wp-content/plugins/mp-timetable/templates-functions/action-shortcode-functions.php line 330

    Finally, the error-log monitoring this error grew to a size of 7.1 gigabytes, which caused my website to break down.
    Please investigate this bug. Thank you 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author MotoPress

    (@motopress)

    Hi @flinnn,
    Unfortunately we could not replicate the issue locally. Could you specify PHP version installed on your server?

    I use php 7.1
    This problem could be connected to the problem, that I misconfigured the shortcode when I started testing the plugin.

    Plugin Author MotoPress

    (@motopress)

    Hi @flinnn,
    Could you clarify what you mean under (I misconfigured the shortcode when I started testing the plugin) Have you modified plugin files?

    No of course not. But I have the problem again, this time the problem is more diverse:

    A non-numeric value encountered
    /wp-content/plugins/mp-timetable/classes/class-shortcode.php line 115

    A non-numeric value encountered
    /wp-content/plugins/mp-timetable/classes/class-shortcode.php line 208

    A non-numeric value encountered
    /wp-content/plugins/mp-timetable/classes/class-shortcode.php line 210

    Division by zero
    /wp-content/plugins/mp-timetable/classes/class-shortcode.php line 208

    A non-numeric value encountered
    /wp-content/plugins/mp-timetable/templates-functions/action-shortcode-functions.php Zeile 286

    I could send you the error log.

    Plugin Author MotoPress

    (@motopress)

    Hi @flinnn,
    Thanks for your offer and accept apologies for a delay. We would appreciate if you submit a request to our support team sending error log as we still are unable to replicate the issue. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘php error in line 330’ is closed to new replies.