I've hit a dead end.
-
Hi – I tried to install your plugin and keep getting this message even after a few uninstall/re-installs
Error Message
Fatal Error: syntax error, unexpected ‘[‘ in /home/21/27/3102721/web/wp-content/plugins/canada-post-shipping-for-woocommerce/canadapost.php on line 512
Description
The Canada Post Shipping For WooCommerce By CanShip plugin code created an error that caused PHP execution to fail.
This type error is called a “syntax error.” A syntax error means that the format of the code is invalid. Examples of syntax errors: a missing semicolon after a line of code, having mismatched parentheses, forgetting to put a dollar sign ($) in front of a variable’s name, and forgetting an operator — such as a plus sign (+) — between two variables. There are many other possible causes of syntax errors, the preceding are just a few examples.
Solutions
◦Invalid code modifications can cause this problem. If you have made any modifications to the plugin, remove them and try to load the site again.
◦It is possible that this plugin’s code is out of date and that an upgrade is available. Check with the plugin’s author to see if an upgrade is available.
◦There may be a conflict with another plugin running on the site. Try upgrading the other plugins on the site. A plugin conflict can be ruled out by deactivating all the other active plugins on the site and checking to see if the error still occurs.
◦The Canada Post Shipping For WooCommerce By CanShip plugin may not have been fully uploaded. Uploading the plugin again could fix the issue. Important: If you do this, you will lose any modifications made to the plugin.Error Source Details
Type
PluginName
Canada Post Shipping For WooCommerce By CanShipVersion
1.0Author
CanShipPath
/home/21/27/3102721/web/wp-content/plugins/canada-post-shipping-for-woocommerceFile
canadapost.phpOther Software Details
WordPress Version
4.0.1PHP Version
5.3.3-7.4+hw2Full Error Details
Type
Parse Error (E_PARSE)Message
syntax error, unexpected ‘[‘File
/home/21/27/3102721/web/wp-content/plugins/canada-post-shipping-for-woocommerce/canadapost.phpLine
512Type Description
This type of error indicates that the PHP code is invalid and is typically referred to as a syntax error. It basically means that the code was written incorrectly and is preventing PHP from being able to read the code properly.https://ww.wp.xz.cn/plugins/canada-post-shipping-for-woocommerce/
The topic ‘I've hit a dead end.’ is closed to new replies.