Title: WP-CLI import error
Last modified: January 12, 2022

---

# WP-CLI import error

 *  Resolved [lens2016](https://wordpress.org/support/users/lens2016/)
 * (@lens2016)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-import-error/)
 * Hi, I wanted to switch to wp-cli import but I always get the following error,
   do you have any suggestions?
 *     ```
       PHP Fatal error:  Uncaught Error: Call to a member function can_update_meta() on null in /wp-content/plugins/jobify-xml-csv-listings-import/jobify-add-on.php:222
       Stack trace:
       #0 /wp-content/plugins/jobify-xml-csv-listings-import/rapid-addon.php(399): jobify_addon_import(91912, Array, Object(PMXI_Import_Record), Array, Object(Closure))
       #1 /wp-content/plugins/wp-all-import-pro/models/import/record.php(3224): RapidAddon->import(Array, Array)
       #2 /wp-content/plugins/wp-all-import-pro/models/import/record.php(333): PMXI_Import_Record->process('<?xml version="...', Object(Closure), 2, true, '/pmxi_records', 1, Object(cli\progress\Bar))
       #3 /wp-content/plugins/wp-all-import-pro/classes/cli.php(95): PMXI_Import_Record->execute(Object(Closure))
       #4 [internal function]: PMXI_Cli->run(Array, Array)
       #5 phar:/// in /wp-content/plugins/jobify-xml-csv-listings-import/jobify-add-on.php on line 222
       ```
   

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-import-error/#post-15246219)
 * Hi [@lens2016](https://wordpress.org/support/users/lens2016/),
 * Unfortunately, our Jobify Add-On hasn’t been updated to work with WP-CLI imports
   yet. We do plan on doing that, but I don’t currently have an ETA for the release.
 * For now, you’ll have to use regular cron jobs ( [http://www.wpallimport.com/documentation/recurring/cron/](http://www.wpallimport.com/documentation/recurring/cron/))
   or manually run the import.
 *  Thread Starter [lens2016](https://wordpress.org/support/users/lens2016/)
 * (@lens2016)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-import-error/#post-15247590)
 * Thanks. I have too many imports to run so it is nearly impossible to time it 
   correctly with normal wget cron jobs. I regularly run into import issues because
   of overlapping imports and server time outs. The WP-CLI import works so much 
   better and runs all 20 jobs one after another…so no trouble at all.
 * Guess I will need to set up all the jobs again with the Wp Job Manager Addon 
   and custom fields which seems to support WP-CLI. Keep me updated when you have
   updated your add-on, since its been more than a year and a half you started the
   WP-CLI support so its a bit sad that your own add-on is not supporting it after
   that long of a time.

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

The topic ‘WP-CLI import error’ is closed to new replies.

 * ![](https://ps.w.org/jobify-xml-csv-listings-import/assets/icon-256x256.png?rev
   =2570144)
 * [WP All Import – Job Listing Import for Jobify](https://wordpress.org/plugins/jobify-xml-csv-listings-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jobify-xml-csv-listings-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jobify-xml-csv-listings-import/)
 * [Active Topics](https://wordpress.org/support/plugin/jobify-xml-csv-listings-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jobify-xml-csv-listings-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jobify-xml-csv-listings-import/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [lens2016](https://wordpress.org/support/users/lens2016/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/wp-cli-import-error/#post-15247590)
 * Status: resolved