FAQ

Connectivity Issues

URL could not be found, LR cannot communicate with the WP/LR Sync, plugin not installed on WP (when it is), unresponsive login or sync, few photos are uploaded then it fails? Check the Debug Connectivity page.

Installation Issues

For now, the installation is manual and might appear tricky for the user: I really apologize about that!

In short: unzip, keep the files in a folder called wplr.lrplugin (the .lrplugin in the folder name is important) and pick this folder as the plugin in File->Plugin Manager in Lightroom.

Jeffrey Friedl (author of many LR plugins) wrote an amazing article about how to install those plugins. It is the best article so I don’t even want to attempt to write a better one. It is here: Installation and Management of LR Plugins. There is another one available on Smugmug website, here.

General Issues & Questions

What are those post types about? What is this concept?
You can learn about it here: https://codex.wordpress.org/Post_Types. The default post types in WordPress are pages, posts and attachments. Themes and plugins can create additional ones, for instance, galleries, videos, products, etc.
The order of the images is wrong
The plugin doesn’t decide in which order to send the files, Lightroom does. And WordPress decides how to display them in the Media Library. There is no manual ordering possible in the Media Library, that is technically not doable (or that would be really tricky).

In the Media Library, the images are ordered by a field internally known as Upload Date, it is shown as the Date column. So basically the latest image you upload will be at the top. In Lightroom, you can choose that by drag & drop the images about to be sent for the first time (in New Photos to Publish). Then Publish. The last image to be uploaded will appear first in the Media Library.

Another way is to use the Use Photo Taken Date. I recommend this because the plugin will override the default process and use the Taken Date of the photo as the Upload Date. That will make your Media Library clean, with useful and re-usable data.

If you want to order images within a gallery synchronized by WP/LR Sync, this is possible. You need to use Custom Order in Lightroom for this specific gallery, and trigger a Re-Publish for any photo within this gallery to trigger this ordering update.

I have synchronized my photos but somewhat it looks like it is still the old ones.
If you have caching on your server (or a CDN) then the photos might not be refreshed. The plugin cannot do anything about it so you should try to reset your cache or you CDN. The refreshed photos should appear after that.
I modified the keywords on my photos but they are not marked as ‘to Re-Published’.
For this to happen you need to either have a WordPress field link to ‘Keywords’ or you need the ‘All Meta’ box to be checked.
I would like to link my WP media with a different image in my LR, how can I do?
Check the module called Switch Photos (Library > Plugins Extra), you can then select two photos (the current one that you have in your WP and the one you want to exchange it in your LR and then it will be done. Easy!
I have a custom meta and I would like to have information from my image (EXIF, IPTC or something else) written in it.

The easiest way to do it would be to use the plugin called Media Library Assistant. If you have a problem, the developer behind it is very helpful.

Another way is to take advantage of the API available in WP/LR Sync. One of my user, Geet, wrote some code that keeps his custom meta (city, country) synchronized from the IPTC information. Here is the code:

add_action( "wplr_add_media", 'myapp_update_media_meta', 10, 2 ); 
add_action( "wplr_update_media", 'myapp_update_media_meta', 10, 2 );

function myapp_update_media_meta( $mediaId, $galleryID ) { 
  global $wplr; 
  $image = wp_get_attachment_url( $mediaId ); 
  $size = getimagesize($image, $info); 
  if ( isset( $info['APP13'] ) ) { 
    $iptc = iptcparse( $info['APP13'] );
    if ( isset( $iptc["2#090"][0] ) ) 
        update_post_meta( $mediaId, 'city', $iptc["2#090"][0] ); 
    if ( isset( $iptc["2#101"][0] ) )
        update_post_meta( $mediaId, 'country', $iptc["2#101"][0] ); 
  }
}
How does the plugin handles the translations I made with WPML Media?
The plugin considers that the language you are using in Lightroom is the default/base language you are using in WordPress. Therefore, on a fresh first new upload, all the media translations will received the texts from Lightroom and will be the same as the default media. The following synchronizations will not update those translations’ metadata anymore since they are supposed to be… translations 🙂 However, the default translation will always be synchronized with LR. I believe it is the way it should work.

Issues with Post Types Extension

The collections and folders are not all being created
Check if you are using the “Reuse” feature in the settings of this extension. It is maybe the case that you have another post type somewhere else using the same title for your collection, or that you have a deleted one that has the same name. In both cases, WP/LR Sync will re-use it. Find it and delete it definitely, or disable the “Reuse” feature.
The hierarchy of collections and folders doesn’t seem to be right
Enable the Debugging Tools, and check if the Hierarchy (the area on the right) is correct. This is what WP/LR Sync exactly know about your Lightroom. If it is wrong, try to Re-Publish many of you images from the LR side, that should update the hierarchy maintained by WP/LR Sync.

Is the Hierarchy is right but your WordPress doesn’t have the Posts/Pages/Galleries (or whatever you linked it to) the same, try to Reset the Extensions, then Sync the Extensions again (in the Extensions menu). That will call your extensions (and therefore, the Post Types extension) to re-do everything.

Issues with Total Sync

I cannot find the Total Sync module. Where is it?
Lightroom has a weird way to handle plugins and I would rather have the Total Sync available through a contextual menu. However, we cannot do  that (Lightroom is very restrictive for developers). I took a screenshot of where you can find the module, click here.
The hashing really takes a lot of time!
If you want it to be faster, you can run the hashing process by yourself (Advanced tab) on all your photos using the fastest service you have (you can use a WordPress installed on your own machine). Those hashes can then be used for the matching with any other service, it only has to be done once per photo.
Can I exclude photos from my WordPress for the linking?
No problem: in the LR Sync column of the Media Library there is a textbox for the LR ID. Type in a ‘0’ and ‘Link’. The photo will be marked as ‘Ignored’. You can also do this during the matching.
On my WordPress, many photos are actually duplicated. Is there a way I can handle this?
How you manage those duplicated photos is up to you but personally I like to avoid this case. In WP/LR Sync, there is a dashboard that will show you the duplicated photos you have (based on the links between LR and WP). To enable this dashboard, go in Settings > Media and check the WP/LR Tools. Now go in your Media menu and there will a new WP/LR screen.

Error Messages

An internal error has occurred: AgExportRendition:recordRemotePhotoId: remote ID must be a number or string.

Are you using JetPack? The plugin might cause this. You have to authorize WP/LR through JetPack -> Settings -> Carousel, find WP/LR at the bottom of the page and enable it.

Got an error from WP. Please check your PHP logs (on server) and WP/LR logs (on your computer).

If it is a connectivity issue (means you can’t even login with the LR plugin), click here. Before that, make sure your checked your logs (there is a WPLRSync.log in your Document folder and the PHP error logs are located on your server – you can ask your hosting service since they all host those differently).

  • MuchFun

    Just to mention it, ” Got an error from WP” could also mean, that the file size of an image is too big for the server. That was a problem I faced the other day and I could resolve it by reducing the file size (smaller resolution, smaller dimensions, …)

    • Yes, did you have that info in your PHP Error Logs? Normally that would be said. WP/LR Sync check for that info and tells you if the size of the file is too big but it can’t always get it.

      • MuchFun

        All I wanted to says that before start reading log-files and/or ask your host for assistance, check the file size you try to upload…

        • Maik Buschbacher

          Ive got The same issue… (connection To your Website….) Ive got a https Homepage and in the setting i Insert https://www.picass-o.com and i still get The Massage New i reduce The size of the images on 25% hopefully IT works… Hope so, because it would be sad if i have to change The plugin..

          • Changing the size is a random solution, follow this: https://meowapps.com/wplr-sync/debug-connectivity/. And find the real issue. Switching plugin will not help, the issue is not with the plugin, is the connectivity to your install.

          • Maik Buschbacher

            It was the size.. My pictures was to big for my Homepage… So i choose 25% from A 6000*4000 picture and IT works without any Trouble

  • Spencer Weed

    Hi there, I’m getting the following error when trying to connect the LR extension – “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.”

    WP plugin is installed and enabled. Any ideas?

  • Andi S

    Hi there,
    the installation of both parts of the plugin worked fine. Also a first test showed that the export of a picture from LR to WP worked well.
    Altough when I try to open the Plugins Settings in the WordPress Admin I get an HTTP 500 error. The 500 shows up in the access log, but nothing in the error log or php log. So I’m a bit lost on how I could debug this further.
    My Server is running with PHP 7.0, could that be the issue? WordPress ist latest 4.7.3

    • When you try to open the plugin settings? You mean when you try to get into the menu? This is weird you are not getting explicit errors, if you error log completely empty? (because an empty log is weird in itself, there are always warnings at least)

  • Hi, Jordy!

    I’d like to change the filename of my photos in Lightroom. And I’d like the filenames of these photos inside WordPress to be the same new filenames as in Lightroom. Can I do that with WP/LR? If not, maybe you have a suggestion how to do that other way?

    Thank you!

    • Hi! You can choose the filenames for your files from the settings of the WP/LR Sync Publish Service in the “File Naming” section. On Re-Publish, the filename is however not changed (since it has already been uploaded). If you want to rename files which are already in WordPress, you can use this: https://meowapps.com/media-file-renamer/. Of course, it’s no problem to use WP/LR Sync for resyncing later.

  • Philippe Félix

    Hi,

    I synchronize one Real Media Gallery via WP/LR. I want my pictures to be sorted by filename (descending). When I do so, my pictures appear correctly in RML as well as in the page I created. But once I upload a new picture via WP/LR (not using LR custom order), it appears as the first one. I have to sort the entire gallery again to get the correct order. I also noticed that the meta_value parameter in the wp_realmedialibray_meta doesn’t change (filename_desc in my case) while the sorting is definitely incorrect after the new file has been uploaded.

    Is this a WP/LR or a RML problem ?

    Thank you.

    Philippe.

    • Hello Philippe! I am not sure RML has an ordering for the file inside a collection, that is a question for the developer. WP/LR Sync now (from WP/lR Sync 3) synchronizes the ordering for collections which are set on Custom Order in Lightroom, but this order is kept by WP/LR Sync to be used by other plugins or in the case you use the Post Types Extension (which use this ordering too). In the case of RML, for sure it doesn’t right now.

      • Philippe Félix

        This is Matthew’s answer… “Hello there! The sorting after inserting an new image is currently not supported -> That means the sorting is only applied once. I have put the feature on wish-list. Best regards, Matthew”. And I paid 20 bucks for that (twice because I made a mistake…)

  • Jeff Curto

    FYI – The latest version seems to break WP. I have lrwp-sync on 2 WP sites and running the WP updater rendered both sites *blank* (didn’t load either the site or the backend). Disabling the plugin (by removing it from WP-Content> Plugins via FTP) solved the problem for now.

    • The latest update works on hundreds of install as we speak, so I guess it’s a very specific issue on a specific install. A white screen means that there is an error logged in your PHP Error Logs; that would tell us exactly what went wrong. Can you have a look?

      • Jeff Curto

        Here’s the log from the time that the problem happened:

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘attribute_name’ for query ALTER TABLE wp_woocommerce_attribute_taxonomies ADD KEY `attribute_name` (`attribute_name`(20)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘download_order_key_product’ for query ALTER TABLE wp_woocommerce_downloadable_product_permissions ADD KEY `download_order_key_product` (`product_id`,`order_id`,`order_key`(16),`download_id`) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wp_woocommerce_order_itemmeta ADD KEY `meta_key` (`meta_key`(32)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘tax_rate_state’ for query ALTER TABLE wp_woocommerce_tax_rates ADD KEY `tax_rate_state` (`tax_rate_state`(2)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘tax_rate_class’ for query ALTER TABLE wp_woocommerce_tax_rates ADD KEY `tax_rate_class` (`tax_rate_class`(10)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘location_type_code’ for query ALTER TABLE wp_woocommerce_tax_rate_locations ADD KEY `location_type_code` (`location_type`(10),`location_code`(20)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘location_type_code’ for query ALTER TABLE wp_woocommerce_shipping_zone_locations ADD KEY `location_type_code` (`location_type`(10),`location_code`(20)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        [04-Apr-2017 15:19:52 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wp_woocommerce_payment_tokenmeta ADD KEY `meta_key` (`meta_key`(32)) made by include(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

        That’s on the one install that has WooCommerce. The other install does not have WooCommerce and there are no errors logged for the same time yesterday that I did the update.

        I’ll be away for a few days, so won’t be able to post any other issues until early next week.

        Thanks in advance for any help you can provide!

      • Susanne Hjertø Wiik

        It broke my site too. I get the following message: Fatal error: Can’t use method return value in write context in /home/shw/public_html/wp-content/plugins/wplr-sync/lrsync_core.php on line 570. How can I install the previous version?

        • I see why, that’s because you are using a very old version of PHP. I changed the code so that it works. Please update to 3.0.9.

  • Sílvio Tiago Almeida

    Hello,

    I’ve bought your Media Cleaner but I’m a bit disappointed.
    I tried it 2-3 days, and in 8h of work gets stuck in 9 or 14%…

    Can you please help?

  • Joseph Merrick

    Hello Jordy,

    I would like to use the plugin in connection with Jeffrey’s “Metadata Wrangler” http://regex.info/blog/lightroom-goodies/metadata-wrangler to control the metadata and add my own title and caption dynamically from specific keywords, but somehow WP/LR Sync seems to ignore/override all settings from Wrangler?

    • Hi! It should work totally fine, WP/LR Sync doesn’t override the export process of Lightroom. On WordPress side, the Title is however picked by WP/LR Sync, indeed, you can try to use “Blank” in the settings, maybe the Title in the EXIF (through Wrangler) will take over (that depends on WordPress).

      • Joseph Merrick

        okay, thanks for the quick reply and for making me understand what’s going on

        I have checked the uploaded JPEG and can confirm, the metadata set by Wrangler is correctly injected. So WP is getting the Title etc. straight from LR (not from exif/metadata). Setting the fields to blank in the LR Sync settings did not make any difference.

        But I think I can work with that. The most important thing for me is, that the metadata in the published JPEG is set and controlled by Wrangler, which it is!

  • Lasse

    Does someone else have same issue with the plugin in windows LR (latest). Lightroom works very fast until scrolled down to publish part where the lr/wp sync plugin section with visible folders are. It gets really laggy with loading cursor. If folder list is hidden the Lightroom is fast again but as long as the list with synced folder is visible and page scrolled down to that part it gets laggy.

    • I think that is has nothing to do with the WP/LR Sync process. There is nothing happening in the plugin when you scroll down and look at the photos in the service. However, the fact you have Smart Collections can slow down the process, but that’s LR in general.

  • Luis Urbina

    Hi Jordi, I have a question. I have Lightroom CC in my Windows desktop AND in my Macbook laptop. Will I be able to install WP/LR in both computers paying one license?
    I only have one WordPress URL
    Thanks
    Luis

    • Hi Luis! Yes, it’s no problem 🙂 You can install as many instances as you like. Only the number of websites count.

      • Luis Urbina

        Cool! Thanks

  • Markus Wahl

    The Plugin does sync all the keywords with WordPress, even if they are marked not for export in Lightroom. This doesn’t follow the standard behavior of Lightroom publish services or export profiles

I recommend you to use WPEngine or SiteGround. They are both excellent hosting services and work perfectly with all my plugins.