I am currently working on a WordPress website, with WooCommerce functionality. The website has not gone live yet, as undergoing some testing.
I have just tested the Checkout process, and on the Checkout page, I see the following error message:
Error found in: /var/www/vhosts/example.com/httpdocs/wp-content/plugins/woocommerce/includes/libraries/class-wc-eval-math.php, nfx, 117
Warning: illegal character '�' in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/woocommerce/includes/libraries/class-wc-eval-math.php on line 289
These files have not been edited by myself and and I installed the WooCommerce directly from WooCommerce.
Anyone have any ideas on what this is and how I can resolve this? I have not come across this error message before.
I am not sure if the issue is connected but the PayPal/Delivery section, on the Checkout page,generates the loading spinner, which stays on the page and does not load anything.
EDIT: When making a purchase from within the UK, the 'Proceed to PayPal' button works fine. It is only when I change the country, within the drop down menu,that the Spinner loads continually. Thus preventing any progress. I have looked at the 'Console' feature within Google Chrome and it highlights the following error message:
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.example.com/wp-content/themes/theme_name/css/custom-stylesheet.css?ver=1.0
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1 http://www.example.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
Failed to load resource: the server responded with a status of 404 (Not Found) custom-stylesheet.css
I then went into the Page Source but could see that the above files had loaded. Could the issue lie within this?