Looks like I needed to install mcrypt
Homebrew command
brew install mcrypt
But that did not work even after I restated Mariadb
Here is the full error
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_iv_size() in /Users/mac/Sites/paw/wp-content/plugins/wpsitesynccontent/classes/auth.php:144 Stack trace: #0 /Users/mac/Sites/paw/wp-content/plugins/wpsitesynccontent/classes/apirequest.php(546): SyncAuth->encode_password(‘######’, ‘https://patrick…’) #1 /Users/mac/Sites/paw/wp-content/plugins/wpsitesynccontent/classes/apirequest.php(89): SyncApiRequest->_auth(Array) #2 /Users/mac/Sites/paw/wp-content/plugins/wpsitesynccontent/classes/settings.php(530): SyncApiRequest->api(‘auth’, Array) #3 /Users/mac/Sites/paw/wp-includes/class-wp-hook.php(300): SyncSettings->validate_settings(Array) #4 /Users/mac/Sites/paw/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #5 /Users/mac/Sites/paw/wp-includes/formatting.php(4293): apply_filters(‘sanitize_option…’, Array, ‘spectrom_sync_s…’, Arr in /Users/mac/Sites/paw/wp-content/plugins/wpsitesynccontent/classes/auth.php on line 144
Hi Frank,
Sorry that you’re having trouble with this. You are correct: the mcrypt library needs to be installed. I see that you did this via Homebrew, so you should have the files on your system now.
Two things for you to check:
1) Is the extension configured correctly? There are settings in php.ini which dictate where the directories are that store the mcrypt files. These may need to be adjusted depending on where Homebrew placed the files.
2) You need to restart Apache and not MariaDB since these are extensions for the PHP install. After you’ve restarted Apache, you should be able to run a php –info (or call php_info() from within a .php file and load this in your browser). This will show all extensions that have been loaded by PHP and will include information on mcrypt when it is properly installed. Once you see this here, the error message will disappear.
Also note, that if you’re using a custom PHP install on your Target site, you may need to install mcrypt there as well.
Hope this helps and let us know if we can give further assistance.