I’ve confirmed this issue is related to Freemius – the part of the plugin that handles payments. I’ve been in touch with Freemius about it and they have already fixed the issue in their development version, which will be available soon. So the next release of this plugin should fix the issue.
If anyone runs into this problem in the mean-time, you can fix it the way that Robert did. I.e.
1. Deactivate the material design plugin on your NEW server
2. Install the Search & Replace plugin
3. Create a PHP file called dirname.php
and put this in it.
<?php echo __DIR__; ?>
4. Upload that file to the wp-content/plugins
directory of both your old AND new servers.
5. Navigate to the file in a web browser on both your old and new URLs and leave them open in separate tabs.
https://www.myoldurl.com/wp-content/plugins/dirname.php – this will output your OLD site’s plugins
path
https://www.mynewurl.com/wp-content/plugins/dirname.php – this will output your NEW site’s plugins
path
(obviously you change everything before ‘/wp-content’ to your actual site urls)
6. In your NEW WordPress, go to Tools > Search & Replace
7. Click “Create SQL File”, then download it when it’s done – this is your backup in case something goes wrong
8. Go to the “Search and Replace” tab, then in the “Search For” box, enter the OLD site’s plugins
path (copy it from the tab you left open earlier).
9. In the “Replace With” box, enter the NEW site’s plugins
path.
10. Select the “wp_options” table (may have a different prefix than ‘wp_’, that’s fine)
11. Uncheck “Dry Run”, and click “Do Search & Replace”
12. Reactivate the material design plugin – everything should now be fixed!!?
13. DELETE the dirname.php
file from your old and new servers
Any questions ask me directly at [email protected]
Thanks,
Angus