TycheSoftwares / order-delivery-date-for-woocommerce

WooCommerce Delivery Date Lite
8 stars 5 forks source link

Getting fatal error on the site once I uploaded Github copy #554

Closed Chetna1510 closed 4 months ago

Chetna1510 commented 4 months ago

Prerequisites

Describe the bug

Getting fatal error when I uploaded github copy on my site

Parse error: syntax error, unexpected token "return", expecting "function" or "const" in C:\xampp\htdocs\wordpress.local\wp-content\plugins\order-delivery-date-for-woocommerce\order_delivery_date.php on line 718 There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.

Steps to reproduce

  1. I had plugin activated on my local server
  2. I just uploaded github copy and got the error on the sitea

Expected behavior

The error shouldn't come on the site.

WordPress Environment

no

Isolating the problem

Additional field

No response