• Resolved kuutniemi

    (@kuutniemi)


    Hi!

    Liking the plugin so far but I have an issue. When trying to make a booking and sending it it’ll give me “Fatal error: Uncaught Error: Undefined constant “CP_APPBOOK_DEFAULT_fp_from_email” in …\wp-content\plugins\appointment-hour-booking\cp-main-class.inc.php:1669.
    How to solve this issue?

    Another problem is when trying to click “Stats” on calendar list gives this error “Fatal error: Uncaught TypeError: strlen(): Argument #1 ($str) must be of type string, array given in …\wp-content\plugins\appointment-hour-booking\cp-admin-int-report.inc.php:66

    Currently running the site and server on localhost.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I beleave ehe error arises in the execution of these two internal commands:

    126 define ('CP_APPBOOK_DEFAULT_fp_from_email', get_the_author_meta ('user_email', get_current_user_id ()));
    127 define ('CP_APPBOOK_DEFAULT_fp_destination_emails', CP_APPBOOK_DEFAULT_fp_from_email);

    As for me the email is poorly defined on Localhost!

    If you have an email defined something like “user @ localhost” try to change it for “[email protected]

    Just an idea

    • This reply was modified 3 years, 9 months ago by playdiune.
    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please update to the latest version (#1.2.85 or later) to automatically correct those issues.

    Thank you for the feedback!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.