Missing Modals in ConvertPlus after site migration

Hi,

We recently migrated our site from one Siteground account to another but none of the modals/info bars were transferred over - the data is there (per wp_options - the databases are identical) but the modals don’t show in the Wordpress admin. The connects we had are still showing up under wp-admin.

Are we missing something? Anything we should try?

Thanks, Neil

Hello @NeilHartley,

Thanks for writing in!

I have checked your site and I found out that there is a JS error on the page. It is because you have inserted this JS code:

<script type="text/javascript">
piAId = '138461';
piCId = '1141';

(function() {
	function async_load(){
		var s = document.createElement('script'); s.type = 'text/javascript';
		s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js';
		var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);
	}
	if(window.attachEvent) { window.attachEvent('onload', async_load); }
	else { window.addEventListener('load', async_load, false); }
})();
</script>
<script type="text/javascript">var ssaUrl = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'centro.pixel.ad/iap/4a379317117e3118';new Image().src = ssaUrl;</script>
<script type="text/javascript" src="https://secure.leadforensics.com/js/136454.js" ></script>
<noscript><img alt="" src="https://secure.leadforensics.com/136454.png?trk_user=136454&trk_tit=jsdisabled&trk_ref=jsdisabled&trk_loc=jsdisabled" height="0px" width="0px" style="display:none;" /></noscript>
<script type="text/javascript">
_linkedin_data_partner_id = "258778";
</script><script type="text/javascript">
(function(){var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})();
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://dc.ads.linkedin.com/collect/?pid=258778&fmt=gif" />
</noscript>

This may also be the cause why your convertplus modals are no longer displaying. Actually you have added the JS code incorrectly. The Custom JS section does not accept <script> tags which is why there is a JS error. To resolve this, please do the following:

  • Install “Insert Headers and Footers” plugin.
  • Remove the JS code from the X > Theme Options > Custom JS
  • Go to Settings > Insert Headers and Footers > Footer and insert your custom JS code.

Hope this helps. Please let us know how it goes.

Thanks for your response. Everything was working perfectly before we migrated the site. We’ve made no changes to the JS code for almost one year. How do you explain that the convertplus modals suddenly stop displaying and are not even shown in the convertplus dashboard after migration?

I did this anyway so all JS is now in Insert Headers and Footers > Footer but no change - the ConvertPlus modals are still missing (even thugh they’re in the database per my initial mail).

Hello @NeilHartley,

How did you do the migration? Did you do it manually or used a 3rd party plugin for the migration?

Thank you in advance.

Our IT guy did the migration - he wouldn’t have used a plug-in. It was moved from one Siteground account to another Siteground account and, as I said earlier, all of the database files were successfully moved over.

Can you give me some options that it might be so that I can work through them and diagnose?

Hello @NeilHartley,

If he database files, table names, etc are the same, there should not be any issues at all. Can you please sen us both the old working site and new site so that we can compare and investigate why the modals do not work in your newly migrated site?

Thank you in advance.

Well actually I decided to quickly recreate the social sharing modal and the plugin just hangs. So I updated X and Cornerstone - still hangs. So I deleted the plugin and reinstalled it. Still hangs. I tried to export the modal from another site and import to this site but got the infinite spinning circle. Can you take another look using the credentials I provided earlier - it’s not an old vs new site thing. Thanks, Neil

This is the modal I’m trying to use. Other modals seem to work OK but this one doesn’t (nor does the export/import per my note above). Screenshot 2020-03-02 at 13.06.44

Hi @neilhartley,

Sorry that you’re having that issue, it seems you already did everything, except testing for plugin conflict. Please do testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes,
Cheers!

Hi - deactivating all of the plugins did not resolve the issue…

Hi @neilhartley,

In that case, would you mind witching to Twenty Nineteen theme and try importing that modal template again? If it still can’t be imported then you know its a conflict between that specific modal template and your server configuration/security. We can’t identify it though as ConvertPlus not giving any clue. Maybe your hosting support might be able to figure out what is causing the issue.

Thanks,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.