Title: import/sync issues on wpengine server
Last modified: December 1, 2016

---

# import/sync issues on wpengine server

 *  Resolved [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/)
 * Greetings — Realizing that Katie is busy this fall, I’m posting to Zotpress users
   who are using WPEngine as their WP host. We run an academic multisite and have
   long used Zotpress successfully on a number of sites, but at some point in recent
   past (perhaps the last month?), all references failed to import/sync. On Zotero
   libraries with fairly stable references that had previously been set up (and 
   thus imported/synced), bibliographies display fine from the Zotpress cache, but
   with new setups, or if the Zotpress cache is emptied, no luck.
 * I am seeing Katie’s recommendations #1 and 2 [here](https://wordpress.org/support/topic/having-importsync-issues-check-here-first/),
   and will forward to my WPEngine support contacts, but it would be helpful if 
   other Zotpress users on WPEngine could confirm the above.
 * Btw, the specific error the WPEngine support person passed on to me is below,
   and for various reasons we are running Zotpress latest (6.1.6) with WP 4.5.1…
   thanks, Jim P.
 * `[01-Dec-2016 16:15:29 UTC] PHP Fatal error: Call to a member function getAll()
   on a non-object in /nas/content/live/lclark/wp-content/plugins/zotpress/lib/request/
   request.class.php on line 146`

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

 *  Thread Starter [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8504224)
 * I now have more info from WPEngine; apparently they are fully compliant with 
   Katie’s recommendations, and suggested the issue below…ideas welcome…Jim P.
 *     ```
       I talked with Brett a bit on this matter and he summarized the problem down to these two lines in the code block he sent earlier....
   
       $response = wp_remote_get( $url, array ( 'headers' => $headers_arr ) );
   
       $headers = json_encode( wp_remote_retrieve_headers( $response )->getAll() );
   
       To be more specific about what Brett was indicating with these two lines above; The second line is trying to decode the json that is being returned by the request above it on that first line.
       It's attempting to grab headers and failing to do so. Not something that we could dictate or control, platform wise, it would be site specific, and how it is or has been configured differently.
       ```
   
    -  This reply was modified 9 years, 5 months ago by [doctorproctor](https://wordpress.org/support/users/doctorproctor/).
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8504242)
 * Sorry I’ve been awol! Could it be the version of WP? I released an update a little
   while ago that addressed the change in WP’s request protocol, but it may not 
   work with earlier versions of WP.
 *  Thread Starter [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8504256)
 * Yes, possible! I will ask our consultant if there are remaining issues with certain
   plugins/themes, then we will update asap to latest WP v, and I’ll let you know
   if that fixes it.
 * Hope all is well, Katie!
 * Jim P.
 *  Thread Starter [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8509161)
 * Yup, we were finally able to upgrade to WP 4.6.1 and Zotpress works again!…sorry
   for the bother, all.
 * Jim P.
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8509981)
 * Glad it was a simple solution!
 *  [marcchehab](https://wordpress.org/support/users/marcchehab/)
 * (@marcchehab)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8661887)
 * I have the exact same issue now. WP 4.7.1 and Zotpress 6.1.6. Is that still just
   a matter of incompatible versions? Kind regards, Marc
 * `Fatal error: Call to a member function getAll() on a non-object in /home/elcont6/
   public_html/wp-content/plugins/zotpress/lib/request/request.class.php on line
   146`
 * I tried downgrading the plugin, so far without success (I can’t downgrade WP,
   I’m afraid 🙁 )
    -  This reply was modified 9 years, 4 months ago by [marcchehab](https://wordpress.org/support/users/marcchehab/).
 *  Thread Starter [doctorproctor](https://wordpress.org/support/users/doctorproctor/)
 * (@doctorproctor)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8661923)
 * We just upgraded today to 4.7.1 and are using ZP 6.1.6, and I just checked (heart
   stopped a beat, as we use ZP extensively across our multisite) and no incompatibilities
   I can see, at least for us. So, thankfully we are not experiencing this issue.
 * Jim P.
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8662309)
 * [@marcchehab](https://wordpress.org/support/users/marcchehab/) Hmm, that’s strange.
   What happens if you empty the cache or reset Zotpress?
 *  [marcchehab](https://wordpress.org/support/users/marcchehab/)
 * (@marcchehab)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8662354)
 * Hey Katie,
 * I did both multiple times, used my user or a group to connect, created a new 
   key and checked my citation style (apa) is on that list over at zotero.org. All
   check out. I also reinstalled different versions of Zotpress. Also, I do see 
   the categories and tags, just the main list of the citations never works.
 * The error it throws up is the following:
 * `http://www.elcontexto.org/wp-admin/admin-ajax.php?action=zpRetrieveViaShort…
   =&update=false&request_start=0&request_last=0&zpShortcode_nonce=16dbb06f31 Failed
   to load resource: the server responded with a status of 500 (Internal Server 
   Error)`
 * Earlier in the console I see the tags/categories being extracted, and they work:
 * `http://www.elcontexto.org/wp-admin/admin-ajax.php?action=zpRetrieveViaShortcode&
   api_user_id=1237186&item_type=tags&is_dropdown=true&maxtags=&request_start=0&
   request_last=0&update=false&zpShortcode_nonce=16dbb06f31`
 * Kindest regards, Marc
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8662381)
 * Hmm, it’s curious that the tags/collections are working but the items aren’t.
   I think it’s best if you contact me with your Zotero user id, key, and some shortcodes:
   [http://katieseaborn.com/contact/](http://katieseaborn.com/contact/) I’m going
   to try to look at Zotpress issues this weekend.
 *  [marcchehab](https://wordpress.org/support/users/marcchehab/)
 * (@marcchehab)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8663390)
 * Thank you so much for your support! I’ll send you a message shortly. Kind regards,
   Marc
 *  [marcchehab](https://wordpress.org/support/users/marcchehab/)
 * (@marcchehab)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8739303)
 * Involutarily, I could try it again with a fresh WP install because I accidentally
   deleted my WP-SQL database 🙁 But it’s good to try this again 🙂 So, yeah, I 
   still have the exact same problem.
 * Might it have something to do with me being Swiss? E.g. book titles I use have
   Umlauts (äöü) and so on 🙂 You know, I’m wondering if it’s just a few booktitles
   it can’t process that stall the process.
 * Kind regards,
    Marc
    -  This reply was modified 9 years, 3 months ago by [marcchehab](https://wordpress.org/support/users/marcchehab/).

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

The topic ‘import/sync issues on wpengine server’ is closed to new replies.

 * ![](https://ps.w.org/zotpress/assets/icon-256x256.png?rev=1995512)
 * [Zotpress](https://wordpress.org/plugins/zotpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zotpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zotpress/)
 * [Active Topics](https://wordpress.org/support/plugin/zotpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zotpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zotpress/reviews/)

## Tags

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

 * 12 replies
 * 3 participants
 * Last reply from: [marcchehab](https://wordpress.org/support/users/marcchehab/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/importsync-issues-on-wpengine-server/#post-8739303)
 * Status: resolved