• Resolved davidegiorgetta

    (@davidegiorgetta)


    Hi there,
    I installed the plug-in File-star Restaurant Reservations and did the basic setup but a warning is displayed on the top of the site (both in backend and in frontend). This is the warning (I already tried to disable all the plug-ins without luck):
    “Warning: A non-numeric value encountered in /home/customer/www/fidelio.cafe/public_html/wp-content/plugins/restaurant-reservations/includes/Notifications.class.php on line 109”

    This is the line the warning refers to but I cannot see any problem (both with site URL and name);
    '{site_link}' => '<a href="' . home_url( '/' ) . '">' . get_bloginfo( 'name' ) . '</a>',

    What could the problem be?

    I haven’t did any other change.

    Thanks!
    Davide

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi Davide,

    I think you were actually looking at the wrong file. The warning was from Notifications.class.php, but you took line 109 from Notification.class.php (no “s” on the end).

    Line 109 from Notifications.class.php is:

    $next_send_time = $last_send_datetime->format('U') + $send_time_hours * 60*60 + $send_time_minutes * 60;

    This output needs to be in numerical format. With that in mind, my guess is you put an incorrect value for the “Summary Email Send Time” option in the Notifications area of the Settings page.

    Thread Starter davidegiorgetta

    (@davidegiorgetta)

    Thanks for your advice. The “Summary Email Send Time” option without a correct value caused the issue. I think this is something which can be easily enhanced by the plug-in developers as it displayed the warning right after the activation and without having touched any setting I was thinking that was a compatibility problem.

    Thank you!
    Davide

    Plugin Support jaysupport

    (@jaysupport)

    Hi Davide,

    Thank you for letting us know and for the feedback. We’ll see if we can take care of this in an upcoming update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Non-numeric value encountered in’ is closed to new replies.