• barcode20

    (@barcode20)


    Hi,

    I got this message in backoffice: Warning: Undefined variable $appointment_preview_url in /home/mhd-01/www.lasemetal.roma.it/htdocs/wp-content/themes/appointment/admin/admin-init.php on line 79

    What is it? and how fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Akhilesh

    (@atul-rahman)

    Hi @barcode20

    Thank you for reaching out to us.

    We were unable to reproduce this warning message on our end. However, based on the line number you provided, we have identified a possible cause and a solution.

    To resolve this issue, please follow these steps:

    1. Locate the admin-init.php file in your theme directory:
      wp-content/themes/appointment/admin/admin-init.php
    2. Open the file and replace its contents with the updated code provided in this link: https://controlc.com/ea5d4f3b

    If you have any questions or need further assistance, feel free to reach out.

    Best regards,

    Appointment Support team

    • This reply was modified 1 month ago by Akhilesh.
    Thread Starter barcode20

    (@barcode20)

    Many thanks for your reply.

    I’ve only replaced the line 79 with the same from the link you provided.

    This one: ‘demo_link’=>$appointment_preview_url,

    with this: ‘demo_link’=>’https://ap-business.webriti.com/‘,

    and get no warning now.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.