Title: SyntaxError: expected expression in fpf_admin.jsx
Last modified: May 5, 2020

---

# SyntaxError: expected expression in fpf_admin.jsx

 *  Resolved [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [6 years ago](https://wordpress.org/support/topic/syntaxerror-expected-expression-in-fpf_admin-jsx/)
 * Hi, I have a client approach me who had a site developed using your plugin. Recently,
   they have not been able to add or even view fields in their admin pages. After
   some tracing of the issue, I find there is an error originating from a file in
   your plugin:
 * `SyntaxError: expected expression, got '<'`
 * This originates in file:
    /wp-content/plugins/flexible-product-fields/assets/
   js/fpf_admin.jsx on line 26
 * Line 26 shows:
    `const DragHandle = SortableHandle(() => <span className="fpf-
   drag"><span className="dashicons dashicons-menu"></span></span>);`
 * I could try and play around to find a fix but if this is a known bug, I didn’t
   want to charge and apply a fix if there was an update coming to tackle it.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Marta Borówka](https://wordpress.org/support/users/martapaw/)
 * (@martapaw)
 * [6 years ago](https://wordpress.org/support/topic/syntaxerror-expected-expression-in-fpf_admin-jsx/#post-12788919)
 * Hello [@owendevelopment](https://wordpress.org/support/users/owendevelopment/),
 * Probably the reason for this problem is another plugin which also uses the React
   and there is a plugin conflict.
    The best way to find the cause will be if you
   activate only our plugin and WooCommerce and try to activate plugin one by one,
   to see which plugin makes this issue.
 * Best regards,
    Marta
 *  [Marta Borówka](https://wordpress.org/support/users/martapaw/)
 * (@martapaw)
 * [6 years ago](https://wordpress.org/support/topic/syntaxerror-expected-expression-in-fpf_admin-jsx/#post-12856601)
 * As we haven’t got any replies, I’m marking this topic as resolved for now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SyntaxError: expected expression in fpf_admin.jsx’ is closed to new replies.

 * ![](https://ps.w.org/flexible-product-fields/assets/icon-256x256.png?rev=2659614)
 * [Flexible Product Fields (WooCommerce Product Addons) - WooCommerce Product Page Editor](https://wordpress.org/plugins/flexible-product-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-product-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-product-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-product-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-product-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-product-fields/reviews/)

## Tags

 * [expression](https://wordpress.org/support/topic-tag/expression/)

 * 2 replies
 * 2 participants
 * Last reply from: [Marta Borówka](https://wordpress.org/support/users/martapaw/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/syntaxerror-expected-expression-in-fpf_admin-jsx/#post-12856601)
 * Status: resolved