Title: PHP Parse error when trying to import a csv
Last modified: December 10, 2018

---

# PHP Parse error when trying to import a csv

 *  Resolved [buck](https://wordpress.org/support/users/bukco13/)
 * (@bukco13)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-parse-error-when-trying-to-import-a-csv/)
 * I recently purchased Premium to be able to import FAQs I have from a previous
   plugin and for the ability to have an in-page search.
 * Unfortunately when I tried to import from a CSV, I’m getting the following error:
 * Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier(
   T_STRING) in [PATH]/wp-content/plugins/ultimate-faqs/PHPSpreadsheet/vendor/phpoffice/
   phpspreadsheet/src/PhpSpreadsheet/IOFactory.php on line 16
 * This was an export that simply exported a list with the following columns: id,
   Title, Content, Categories.
    -  This topic was modified 7 years, 6 months ago by [buck](https://wordpress.org/support/users/bukco13/).

Viewing 1 replies (of 1 total)

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-parse-error-when-trying-to-import-a-csv/#post-10970021)
 * Hi bukco13,
 * Could you send us the file you were trying to import to [contact@etoilewebdesign.com](https://wordpress.org/support/topic/php-parse-error-when-trying-to-import-a-csv/contact@etoilewebdesign.com?output_format=md)(
   and make sure to reference this thread when you do)?

Viewing 1 replies (of 1 total)

The topic ‘PHP Parse error when trying to import a csv’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/php-parse-error-when-trying-to-import-a-csv/#post-10970021)
 * Status: resolved