Error after migration to Site Ground

Migrated site to Site Ground. All posts and pages are having some error with Author.

I contacted hosting provider who said

It appears that for some reason the following function:

get_the_author()

is not defined in the website’s files and when your theme is executing the script calling that function it is generating the reported issue.

May I kindly ask you to contact the vendors of the theme that you are using and ask them for more information regarding this.

Hi Alen,

Thanks for reaching out.

Looks like the migration is incomplete or corrupted, I recommend remigrating it again.

And the get_the_author() is not part of the theme (though yes, theme and plugin could call it), it’s part of Wordpress core and should be available https://codex.wordpress.org/Function_Reference/get_the_author

This means your Wordpress core itself is causing the issue and maybe the file transter failed.

Thanks!

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