[X] I have carried out troubleshooting steps and I believe I have found a bug.
[X] I have searched for similar bugs in both open and closed issues and cannot find a duplicate.
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
I had plugin activated on my local server
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
[X] I have deactivated other plugins and confirmed this bug occurs when only our plugin is active.
[X] This bug happens with a default WordPress theme active, or Storefront.
[X] I can reproduce this bug consistently using the steps above.
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
Expected behavior
The error shouldn't come on the site.
WordPress Environment
no
Isolating the problem
Additional field
No response