This is what I got in my log:
2016-11-01 22:01:02 +0000, TRACE WPLRSyncAPI.config.url: 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
2016-11-01 22:01:02 +0000, TRACE URL: 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
2016-11-01 22:01:32 +0000, TRACE Loading REST lib
2016-11-01 22:01:32 +0000, TRACE Execute URL http://dandanndesigns.com
2016-11-01 22:01:32 +0000, TRACE URL: 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
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/). 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/). Also make sure that the plugin on the WordPress side is enabled.
…what does that mean?
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/. Thank you!
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/). 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
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?