Hi denis_ryabikov, Please check the version of your PHP.
The Minimum Requirement is 5.4.45 if your version is below the minimum requirement please upgrade the version.
I think that line is – ” $shipments = get_post_meta($trackid, 'wpcargo_shipments_update', true) ?: array(); “
for now you can change it to – ” $shipments = get_post_meta($trackid, 'wpcargo_shipments_update', true); “
Thanks!
Hi, thx for fast response. Request on PHP update on our hosting successfully resolve this problem.
Arni Cinco, please I have similar problem with the wpcargo plugin this is what I get in trying to activate the plugin
“Parse error: syntax error, unexpected ‘:’ in /home/locust/public_html/wp-content/plugins/wpcargo/shortcodes/WPCargo-Track-Results.php on line 95”
I can confirm to you that, I have upgraded my php up to the minimum requirement and the problem persist. Thank you for any assistance
Hi Parikinit!
The alternative solution for that is to change the code..
Have you tried to change the code above?
I think that line is – " $shipments = get_post_meta($trackid, 'wpcargo_shipments_update', true) ?: array(); "
for now you can change it to – " $shipments = get_post_meta($trackid, 'wpcargo_shipments_update', true); "