• Resolved filoveg

    (@filoveg)


    What can be done to solve this error? It doesn’t happen always, for example if I want to publish 20 images, I get error sometimes after each image or sometimes after 2-3 processed images.
    It happens even if I have Jetpack deactivated.

    Can’t update this collection.
    An internal error has occurred: AgExportRendition:recordRemotePhotoId: remote ID must be a number or string

    In Cpanel log I see there is only this relating to WPLR
    [20/Jun/2016:18:35:12 +0200] "POST /wp-json/wplr/v1/sync HTTP/1.1" 200 271 "-" "WP/LR Sync"

    https://ww.wp.xz.cn/plugins/wplr-sync/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter filoveg

    (@filoveg)

    Btw It would be great if there is an option to include title as caption if the caption isn’t set. Sometimes I set the caption but a lot of times it is the same as the title 🙂
    https://s32.postimg.org/b4b6h5hat/Untitled_1.jpg

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello 🙂

    Can you check my page here?
    http://apps.meow.fr/wplr-sync/debug-connectivity/
    There is something about AgExportRendition. Please give it a try.

    If it is the first upload, definitely you can make the Caption to use the title 🙂 You are asking me in a case of a sync, with an already-existing media?

    Thread Starter filoveg

    (@filoveg)

    If I write something as a caption in Lightroom then alt title for image in WordPress is what it should be. But if I don’t write caption in Lightroom http://prntscr.com/bkwpgd then alt text for image in WordPress will also be empty – in this case the title should be in its place. 🙂

    As for AgExportRenditon, on the page it is written: “You have to authorize WP/LR through JetPack -> Settings -> Carousel, find WP/LR at the bottom of the page and enable it.”
    But as I told you on previous topic, that link from Jetpack links to media settings and there isn’t any option for WP/LR?

    Anyway, it happens regardless of Jetpack, I have disabled it.

    Here is WPLRSync.log for 1 image

    06/25/2016 17:05:29 TRACE	WPLRSyncAPI.config.url: http://www.sitename.com
    06/25/2016 17:05:29 TRACE	Loading REST lib
    06/25/2016 17:05:29 TRACE	Execute URL http://www.sitename.com
    06/25/2016 17:05:29 TRACE	URL: http://www.sitename.com/wp-json/wplr/v1/presync
    06/25/2016 17:05:30 TRACE	Presync info follows.
    06/25/2016 17:05:30 TRACE	{
      max_execution_time = 600,
      max_size = 33554432,
      post_max_size = 67108864,
      upload_max_filesize = 33554432
    }
    06/25/2016 17:05:30 TRACE	Last check was 11 mn ago.
    06/25/2016 17:05:36 TRACE	Photo: C:\Users\marko\AppData\Local\Temp\CEDBDF68-7EB1-481C-9EF0-37BA0A1797F7\Torenija-001.JPG
    06/25/2016 17:05:36 TRACE	Filesize: 281976
    06/25/2016 17:05:38 TRACE	WPLRSyncAPI.config.url: http://www.sitename.com
    06/25/2016 17:05:38 TRACE	Loading REST lib
    06/25/2016 17:05:38 TRACE	Execute URL http://www.sitename.com
    06/25/2016 17:05:38 TRACE	URL: http://www.sitename.com/wp-json/wplr/v1/sync

    Max execution time seems ok, everything happens in less 10 sec

    In Raw Access Logs in cpanel I have only found this for image:
    93.142.7.220 - - [25/Jun/2016:17:05:23 +0200] "POST /wp-json/wplr/v1/presync HTTP/1.1" 200 102 "-" "WP/LR Sync"

    Btw I would not even bother if there is an error for whatever reason, the problem is that if there is an error publishing stops. In that case I have to click “Publish” after every image and it would be good if Lightroom retries by itself 😀

    Plugin Author Jordy Meow

    (@tigroumeow)

    If I write something as a caption in Lightroom then alt title for image in WordPress is what it should be. But if I don’t write caption in Lightroom http://prntscr.com/bkwpgd then alt text for image in WordPress will also be empty – in this case the title should be in its place. 🙂

    This is a different issue, right? In that case, how did you set up your Publish Service? Right now, with the plugin, you can link the Alt.Text to the IPTC Caption for example, but if it is empty, then, there is no alternative. If you keep the Synchronize Meta section unchecked for Alt.Text it will let you manually use whatever you like on the WP side and will never erase it with something empty. Did I get this issue right?

    Can’t update this collection.

    You still get this error, everytime you publish an image? Your WPLRSync.log is completely fine and your raw access logs too (that’s only the presync actually). Did you have a chance to look at your PHP error logs?

    Thread Starter filoveg

    (@filoveg)

    I have tried various stuff and currently it is working if I disable W3 Total Cache every time hm.

    Alt text for image, these are my settings http://image.prntscr.com/image/80f967be70c74065ae33611730d586f2.png
    If caption for image is empty http://image.prntscr.com/image/894ab4d7ead7451b8fe57eaeeb6b80e2.png it would be great if the title goes also in the place of alt text for image on server. I don’t know how to explain it better but as I wrote in first post it would be great to have an option for alternative https://s32.postimg.org/b4b6h5hat/Untitled_1.jpg

    Plugin Author Jordy Meow

    (@tigroumeow)

    Do you mind sending me an email directly for the additional options I should add (If Empty)? Here: https://meowapps.com/contact/. That way I can add it in my to do list and contact you when it’s done 🙂

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

The topic ‘AgExportRendition’ is closed to new replies.