Database Sync
[resolved] Syntax errors (database-sync.php) (2 posts)

  1. handsofaten
    Posted 2 years ago #

    When attempting to activate, there is a syntax error in database-sync.php:
    $tokens = get_option('outlandish_sync_tokens') ? : array();

    This actually occurs in three separate places in the file. I replaced them all with:
    $tokens = get_option('outlandish_sync_tokens') ? get_option('outlandish_sync_tokens') : array();

    That fixed the problem. I was able to successfully sync a local dev site with a remote staging site.


  2. stevelack
    Posted 2 years ago #

    Thanks for providing that correction. This plug in is exactly what I've been needing and I was really disappointed when it failed to initialize. Your solution solved the problem. Thank you for sharing it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Database Sync
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic