Uncaught TypeError: Cannot read property 'querySelector' of null at timer

I migrated my site from Siteground server to GoDaddy server.

Problem : Homepage not loading correctly.
Search Console issue : merchantModel.js:25 Uncaught TypeError: Cannot read property ‘querySelector’ of null
at timer (merchantModel.js:25)

site domain : http://algoinsights.awesomecashflow.com
new site domain : staging.algoinsights.com

I migrated the site manually.
Here is how I did it:

current site cpanel :

  1. Enter file manager > compress wp_content > download wp_content.zip & wp-config.php
  2. Enter phpmyadmin > extract website database
  3. open website database with ‘sublime text’
  4. find and replace algoinsights.awesomecashflow.asia to staging.algoinsights.com in the database file

new site cpanel :

  1. create subdomain : staging.algoinsights.com
  2. install new wordpress site
  3. enter file manager > delete wp_content folder
  4. import wp_content.zip > extract wp_content.zip
  5. edit wp_config file (user, password, database name, table prefix)
  6. enter phpmyadmin > drop current database
  7. import edited website database

So far I did everything correctly, I’m not sure what’s the problem.

I also tried transferring the site without changing all the database links
then use a plugin to change all the link from the old domain to new domain.
The error become worse.

How the homepage current error:
Imgur

How it supposed to be:

Hi @meesiamz,

Thanks for reaching out.

Not changing the URL after the transfer means it still pointing to old URL which breaks it, but changing the URL will also break cornerstone data if done incorrectly. How about doing the transfer by using any migration plugin that could do all these changes automatically. The one that I can recommend is the All in one migration plugin, please check it here https://wpshout.com/quick-guides/all-in-one-wp-migration/

And the issue on your home page appears to be an internal error which I’m not sure what caused but it originates from Testimonial Pro plugin. Please try deactivating that plugin and test it again.

Thanks!

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