ElasticPress: PHP Parse error: syntax error, unexpected
-
Hi Support,
We are using add PHP 7.4, and why is this error showing with the ElasticPress plugin? Please check.
Error –
“PHP message: PHP Parse error: syntax error, unexpected ‘|’, expecting ‘;’ or ‘{‘ in /var/www/cosmetara.co.uk/wp-content/plugins/elasticpress/includes/classes/Feature/WooCommerce/Products.php on line 1038” while reading response header from upstreamthis string:
public function get_orderby_meta_mapping( $meta_key ): string|array {The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.