Error form theme assistant when syncing with LR
-
Hello,
since one of your recent updates … not too long ago, i always get an error from theme assistant when i create a new collection in LR. To be more precise, i get the hint to check for debugging. In both logs, local and remote, i’ve found the following error:
Presync info follows. 06/23/2019 20:19:55 TRACE { max_execution_time = 50000, max_size = 67108864, post_max_size = 67108864, upload_max_filesize = 67108864 } 06/23/2019 20:19:56 ERROR Response: 'wplr.lrplugin/JSON.lua:383: html passed to JSON:decode(): <br />\n<b>Notice</b>: Undefined variable: name in <b>/homepages/34/d752726137/htdocs/wp-content/plugins/wplr-theme-assistant/wplr-theme-assistant.php</b> on line <b>610</b><br />\n{"success":true,"payload":[{"lr_col_id":729953,"name":"Deutschland","type":"folder","wp_col_id":"53"},{"lr_col_id":729958,"name":"Bayern","type":"folder","wp_col_id":"54"},{"lr_col_id":663507,"name":"Allg\\u00e4u","type":"folder","wp_col_id":"11"},{"lr_col_id":2023861,"name":"Wandern bei der Breitachklamm","type":"collection","wp_col_id":107}],"error":null,"version":"5.0.8"}' 06/23/2019 20:19:56 TRACE Check connectivity to Google.com 06/23/2019 20:19:56 TRACE Check connectivity to https://website.de 06/23/2019 20:19:57 ERROR Got an error from WordPress. Please follow the instructions available on the 'Debug Connectivity' page at https://meowapps.com. 06/23/2019 20:19:57 ERROR Got an error from WordPress. Please follow the instructions available on the 'Debug Connectivity' page at https://meowapps.com.
Strangely, no pictures are uploaded, but posts with the collection name are created, if i tried mulitple times to publish in LR, i have multiple galleries and posts with the same title. On Line 610 i found this meaningful comment ?? :
// XXX $name might not be initialized
I can dirty workaround that with activating “Catch Errors” in the debugging box. But that feels very uncomfortable..i have wp: 5.1.1
wplrsync local:5.2.0
wplrsync remote: 5.0.8
wplr-theme-assistant: 0.4.5the log remote on the server:
[23-Jun-2019 18:59:23 UTC] PHP Notice: Undefined variable: name in /homepages/34/d752726137/htdocs/wp-content/plugins/wplr-theme-assistant/wplr-theme-assistant.php on line 610 [23-Jun-2019 18:59:23 UTC] Cannot find the term for 11. [23-Jun-2019 18:59:23 UTC] Could not add taxonomy 11 to posttype 108 (taxonomy: category, pm: wplr_pt_posttype, tm: wplr_pt_term_id). [23-Jun-2019 18:59:23 UTC] There was unwanted activity during the WP/LR Sync process (probably generated by another plugin). Request: /?wplr-sync-api. The output which was caught will follow: <br /> <b>Notice</b>: Undefined variable: name in <b>/homepages/34/d752726137/htdocs/wp-content/plugins/wplr-theme-assistant/wplr-theme-assistant.php</b> on line <b>610</b><br />
- The topic ‘Error form theme assistant when syncing with LR’ is closed to new replies.