Title: WP/LR Sync &#8211; php 7
Last modified: August 31, 2016

---

# WP/LR Sync – php 7

 *  Resolved [herb99](https://wordpress.org/support/users/herb99/)
 * (@herb99)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/)
 * Hello,
    can you tell me, if WP/LR Sync runs under php 7?
 * kind regards, kai
 * [https://wordpress.org/plugins/wplr-sync/](https://wordpress.org/plugins/wplr-sync/)

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

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206742)
 * Hello Kai,
 * Yes, it works with PHP 7 🙂
 * Cheers!
 *  Thread Starter [herb99](https://wordpress.org/support/users/herb99/)
 * (@herb99)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206808)
 * Hello Jordy,
 * i gave it a try and it breaks my site 🙁
    immediately after activation in the
   backend I get a white screen with the error message: “Fatal error: Redefinition
   of parameter $folderId in /homepages/20/d573216861/htdocs/wordpressDevs/blankoTest/
   wp-content/plugins/wplr-sync/extensions/3_logger.php on line 112”
 * Can you give me a helping hand to put it to work?
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206841)
 * Indeed, it looks like the logger extension has an issue.
 * In the extensions/3_logger.php file, can you change:
 * `function move_folder( $folderId, $folderId, $previousFolderId )`
 * to
 * `function move_folder( $folderId, $inFolderId, $previousFolderId )`
 * ?
 * I will also push the changes to the repository as an update 🙂
 *  Thread Starter [herb99](https://wordpress.org/support/users/herb99/)
 * (@herb99)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206846)
 * thanks for your quick reply.
    But your suggestion does not fix it 🙁
 * When inserting (relacing)
 * > function move_folder( $folderId, $folderId, $previousFolderId )
 * with
 * > function move_folder( $folderId, $inFolderId, $previousFolderId )
   > ?
 * i get an error message from the code-editor… and the site still breaks, sorry!
   I´m not a crack with php…
 *  Thread Starter [herb99](https://wordpress.org/support/users/herb99/)
 * (@herb99)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206857)
 * Ok, solved it. Sorry as i said, i´m no PHP crack.
    But afer further testing i
   found out: The ? is the reason.
 * Just replaced
 * > function move_folder( $folderId, $inFolderId, $previousFolderId )
 * and it seems to work :-))
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206903)
 * Haha, sorry herb99, this interrogation point was not part of the code, it was
   part of my sentence ” can you change … to … ?”. So sorry about this :p
 * If you see any issues with PHP 7 please let me know, I will fix them right away
   🙂
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206905)
 * Okay, I pushed an update with the fix 🙂

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

The topic ‘WP/LR Sync – php 7’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/wplr-sync-php-7/#post-7206905)
 * Status: resolved