Just migrated a WordPress site to a new server. When we try to create, edit or adjust a template that uses Mosaico we cannot get the following (this is from the edit mosaico templates page and the console shows 404 errors.
We have done the following:
- Checked both directories & resource urls settings. We have also put hte full paths in these settings
- Cleared Cache
- Reinstalled Mosaico & Flexmailer
- Upgraded CiviCRM from 5.28.2 to 5.28.4
It seems Mosaico cannot load the requested
templates_c
dir. Also, Mosaico hard-codes a lot of its paths/urls in the database. Calling the API3Job.mosaico_migrate
action may help (backup first). github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/…