Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello Kai,

    Yes, it works with PHP 7 ??

    Cheers!

    Thread Starter herb99

    (@herb99)

    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

    (@tigroumeow)

    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

    (@herb99)

    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

    (@herb99)

    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

    (@tigroumeow)

    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

    (@tigroumeow)

    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.