Title: Error Messages
Last modified: November 1, 2016

---

# Error Messages

 *  [dandann](https://wordpress.org/support/users/dandann/)
 * (@dandann)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-messages-73/)
 * First I was only getting the second error message, but now I have reinstalled
   the plugin and am getting the first error again and dont remember how I got through
   it the first time.
 * Message 1:
 * Connection to your website works but got an error from WP. Please check your 
   PHP logs (on server), your WP/LR logs (on your computer) and the FAQ ([http://apps.meow.fr/wplr-sync/faq/](http://apps.meow.fr/wplr-sync/faq/)).
   Also make sure that the plugin on the WordPress side is enabled.
 * Message 2:
 * Got an error from WP. Please check your PHP logs (on server) and WP/LR logs (
   on your computer).
 * I was unable to decipher the info on [https://meowapps.com/wplr-sync/xmlrpc-related-issues/](https://meowapps.com/wplr-sync/xmlrpc-related-issues/)
   and it is driving me nuts. Could someone explain in lay term how to get this 
   plugin to work?
 * Thanks,
    DanDann

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

 *  Thread Starter [dandann](https://wordpress.org/support/users/dandann/)
 * (@dandann)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-messages-73/#post-8382765)
 * This is what I got in my log:
 * 2016-11-01 22:01:02 +0000, TRACE WPLRSyncAPI.config.url: [http://dandanndesigns.com](http://dandanndesigns.com)
   
   2016-11-01 22:01:02 +0000, TRACE Loading REST lib 2016-11-01 22:01:02 +0000, 
   TRACE Execute URL [http://dandanndesigns.com](http://dandanndesigns.com) 2016-
   11-01 22:01:02 +0000, TRACE URL: [http://dandanndesigns.com/wp-json/wplr/v1/presync](http://dandanndesigns.com/wp-json/wplr/v1/presync)
   2016-11-01 22:01:04 +0000, TRACE Presync info follows. 2016-11-01 22:01:04 +0000,
   TRACE { max_execution_time = 30, max_size = 67108864, post_max_size = 67108864,
   upload_max_filesize = 67108864 } 2016-11-01 22:01:04 +0000, TRACE Throttling:
   Pause for 28 seconds. 2016-11-01 22:01:32 +0000, TRACE WPLRSyncAPI.config.url:
   [http://dandanndesigns.com](http://dandanndesigns.com) 2016-11-01 22:01:32 +0000,
   TRACE Loading REST lib 2016-11-01 22:01:32 +0000, TRACE Execute URL [http://dandanndesigns.com](http://dandanndesigns.com)
   2016-11-01 22:01:32 +0000, TRACE URL: [http://dandanndesigns.com/wp-json/wplr/v1/sync_collection](http://dandanndesigns.com/wp-json/wplr/v1/sync_collection)
   2016-11-01 22:01:33 +0000, ERROR Response: “[string \”LrREST.lua\”]:50: attempt
   to index local ‘json’ (a nil value)” 2016-11-01 22:01:33 +0000, TRACE Check connectivity
   to Google.com 2016-11-01 22:01:33 +0000, TRACE Check connectivity to [http://dandanndesigns.com](http://dandanndesigns.com)
   2016-11-01 22:01:34 +0000, ERROR Connection to your website works but got an 
   error from WP. Please check your PHP logs (on server), your WP/LR logs (on your
   computer) and the FAQ ([http://apps.meow.fr/wplr-sync/faq/](http://apps.meow.fr/wplr-sync/faq/)).
   Also make sure that the plugin on the WordPress side is enabled. 2016-11-01 22:
   01:34 +0000, ERROR Connection to your website works but got an error from WP.
   Please check your PHP logs (on server), your WP/LR logs (on your computer) and
   the FAQ ([http://apps.meow.fr/wplr-sync/faq/](http://apps.meow.fr/wplr-sync/faq/)).
   Also make sure that the plugin on the WordPress side is enabled.
 * …what does that mean?
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-messages-73/#post-8384771)
 * Hi,
 * I guess there is a PHP error on your server side. However, I would like to fix
   the error message on the LR side to get a more friendly error message, and also
   help you to fix the core issue to make it work 🙂
 * Please contact me through here: [https://meowapps.com/contact/](https://meowapps.com/contact/).
   Thank you!
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-messages-73/#post-8437615)
 * This was resolved 🙂
 *  [mkupczyk](https://wordpress.org/support/users/mkupczyk/)
 * (@mkupczyk)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-messages-73/#post-8757509)
 * Hi,
    do you remember by any chance what you did to fix this issue?
 * I have managed to launch and briefly test trial version of your WP/LR plugin 
   on one of my websites, but the one that’s the most important to me is still not
   working. Connection works when testing localhost, but it’s not working on remote
   domain. In comparison to localhost, I’ve got there the same plugin setup, the
   same database dump and different PHP versions.
 * Some more details:
    - Error message: Connection to your website works but got an error from WP. 
      Please check your PHP logs (on server), your WP/LR logs (on your computer)
      and the FAQ ([http://apps.meow.fr/wplr-sync/faq/](http://apps.meow.fr/wplr-sync/faq/)).
      Also make sure that the plugin on the WordPress side is enabled.
    - Actual error thrown in local log:
       `Response: "[string \"LrREST.lua\"]:50:
      attempt to index local 'json' (a nil value)"`
    - JSON api is working. I have checked communication between Lightroom and WP
      using WireShark and all responses are correct (valid json, status code 200,
      actual user information). The same requests sent to “/wp-json/wplr/v1/userinfo”
      using REST-client are also returning 200 with correct response.
    -  I’ve checked latest versions of the plugin (2.7.1, 2.7.2).
 * Thanks,
    Matt
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-messages-73/#post-8769945)
 * Hi,
 * You should actually check your PHP Error Logs absolutely, the error will be there.
   Can you tell us what you find? Also, are you using an extensions with WP/LR Sync?

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

The topic ‘Error Messages’ is closed to new replies.

 * ![](https://ps.w.org/wplr-sync/assets/icon-256x256.png?rev=1939787)
 * [Photo Engine (Media Organizer & Lightroom)](https://wordpress.org/plugins/wplr-sync/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wplr-sync/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wplr-sync/)
 * [Active Topics](https://wordpress.org/support/plugin/wplr-sync/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wplr-sync/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wplr-sync/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/error-messages-73/#post-8769945)
 * Status: not resolved