This weekend I migrated my site from one server to another. The htdocs remained the same, just the infrastructure was upgraded. I backed up my sql database and files and restored them in the new location. No paths locally or via the internet changed. Only the IP address of the server. PHP and MySQL were upgraded but only by point releases (ie. 7.3 and 8.0 were the core).
After the migration it seems that I cannot create any new mailings in Mosaico using the versafix-1 template nor can I reuse existing emails based on this template. What is weird is I can use the template tedc15 and tutorial. When I select versafix-1 it goes to a blank grey screen.
Console errors:
TODO error!!! Trying to set a new default value for bodyTheme longTextStyle.linksColor while it already exists (current: #3f3f3f, new: #ccc)
declarations.js:130 Model ensure path failed undefined name -ko-color value @longTextStyle.linksColor default #ccc element undefined
parser.js:403 Exception while parsing the template Exception parsing expression @longTextStyle.linksColor TypeError: Cannot read property 'longTextStyle.linksColor' of undefined
parser.js:403 Uncaught Exception parsing expression @longTextStyle.linksColor TypeError: Cannot read property 'longTextStyle.linksColor' of undefined
admin.php?page=CiviCRM&q=civicrm/mosaico/iframe&snippet=1:1 Uncaught ReferenceError: pagespeed is not defined
at HTMLImageElement.onload (admin.php?page=CiviCRM&q=civicrm/mosaico/iframe&snippet=1:1)
Here's what I've done to troubleshoot:
Reinstalled Mosaico:
- Uninstalled Mosaico
- Deleted the Mosaico directory from the ext folder of my server
- Downloaded a fresh copy of Mosaico from the CiviCRM website
- Installed Mosaico
Upgraded to the latest version of ImageMagick (also made sure the extension was not commented out)
Verified file permissions (I actually set everything to 777 inside the wp-content/uploads/civicrm directory for testing)
Disabled Asset Caching
Verified Resource URLs and Directories (both set to [civicrm.files]/ext/)
Can anyone help shed some light on what's going on here?
Many thanks for your help!