Parse Error (ver 2.4.6)
-
After updating to the newest 2.4.6 version, a parse error message became shown and the site crashed.
Parse error: syntax error, unexpected ‘)’ in /home/trustringinc/trustring.site/public_html/ai-net/wp-content/plugins/mycred/includes/hooks/external/mycred-hook-woocommerce.php on line 494
Actually, there seems to be a parse error.
return mycred_subtract( $product_reward->ref, $product_reward->user_id, $product_reward->creds, $product_reward->entry, $product_reward->id, $product_reward->data, $product_reward->ctype, );
Last comma should be deleted I think.
Could you check this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Parse Error (ver 2.4.6)’ is closed to new replies.