Title: Parse Error (ver 2.4.6)
Last modified: June 6, 2022

---

# Parse Error (ver 2.4.6)

 *  Resolved [trustring](https://wordpress.org/support/users/trustring/)
 * (@trustring)
 * [4 years ago](https://wordpress.org/support/topic/parse-error-553/)
 * 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?
    -  This topic was modified 4 years ago by [trustring](https://wordpress.org/support/users/trustring/).

Viewing 1 replies (of 1 total)

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years ago](https://wordpress.org/support/topic/parse-error-553/#post-15712775)
 * [@trustring](https://wordpress.org/support/users/trustring/),
 * Thank you for contacting us, This issue has been fixed. We will soon be releasing
   an update.

Viewing 1 replies (of 1 total)

The topic ‘Parse Error (ver 2.4.6)’ is closed to new replies.

 * ![](https://ps.w.org/mycred/assets/icon-128x128.gif?rev=3512531)
 * [Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program - myCred](https://wordpress.org/plugins/mycred/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mycred/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mycred/)
 * [Active Topics](https://wordpress.org/support/plugin/mycred/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mycred/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mycred/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/parse-error-553/#post-15712775)
 * Status: resolved