• Resolved thedesigngoddess

    (@thedesigngoddess)


    Good day, please kindly assist. I’m encountering the following critical error on my website. No changes were made to the website, I was simply trying to access the Amelia dashboard on my website as I’d done earlier today when I got a critical error. The PHP version is 8.2

    An error of type?E_PARSE?was caused in line?2597?of the file?/home/laestvpj/public_html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/Translations/BackendStrings.php. Error message:?syntax error, unexpected string content "Las"

    line 2597 would be:

            'recurring_date_last'      => __('Las

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter thedesigngoddess

    (@thedesigngoddess)

    An error of type?E_PARSE?was caused in line?2598?of the file?/home/laestvpj/public_html/wp-content/plugins/ameliabooking/src/Infrastructure/WP/Translations/BackendStrings.php. Error message:?Unclosed '[' on line 2

    /**
    * @return array
    */
    public static function getRecurringStrings()
    {
    return [
    ‘recurring_appointments’ => (‘Recurring Appointments’, ‘wpamelia’), ‘recurring_sub_message1’ => (‘Some of the desired slots are busy. We offered you the nearest time slots instead.’, ‘wpamelia’),
    ‘recurring_sub_message2’ => (‘Number of adjusted time slots: ‘, ‘wpamelia’), ‘recurring_active’ => (‘Repeat this appointment’, ‘wpamelia’),
    ‘recurring_active_tooltip’ => (‘Check this option if you want to create recurring appointments’, ‘wpamelia’), ‘recurring_type_daily’ => (‘Daily’, ‘wpamelia’),
    ‘recurring_type_weekly’ => (‘Weekly’, ‘wpamelia’), ‘recurring_type_monthly’ => (‘Monthly’, ‘wpamelia’),
    ‘recurring_repeat’ => (‘Repeat:’, ‘wpamelia’), ‘recurring_every’ => (‘Every:’, ‘wpamelia’),
    ‘recurring_until’ => (‘Until:’, ‘wpamelia’), ‘recurring_every_text’ => (‘Every’, ‘wpamelia’),
    ‘recurring_until_text’ => (‘until’, ‘wpamelia’), ‘recurring_on’ => (‘On:’, ‘wpamelia’),
    ‘recurring_each’ => (‘Each:’, ‘wpamelia’), ‘recurring_times’ => (‘Time(s):’, ‘wpamelia’),
    ‘recurring_date_specific’ => (‘Specific Date’, ‘wpamelia’), ‘recurring_date_first’ => (‘First’, ‘wpamelia’),
    ‘recurring_date_second’ => (‘Second’, ‘wpamelia’), ‘recurring_date_third’ => (‘Third’, ‘wpamelia’),
    ‘recurring_date_fourth’ => (‘Fourth’, ‘wpamelia’), ‘recurring_date_last’ => (‘Las

    Plugin Author ameliabooking

    (@ameliabooking)

    Hello, thank you for reaching out to us.

    Can you please let us know which version of the Amelia plugin you have installed on your website?

    Looking forward to your reply.

    Thread Starter thedesigngoddess

    (@thedesigngoddess)

    Its Version 1.0.86
    I was able to rectify the issue by adding the missing code which was

    ‘recurring_date_fourth’ =>?(‘Fourth’, ‘wpamelia’), ‘recurring_date_last’ =>?(‘Last’, ‘wpamelia’),

    And the error was resolved. But now when I try to access the dashboard, it’s blank. I am, however, able to view appointments by accessing the appointments’ tab but not through the dashboard tab.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical Error’ is closed to new replies.