Support » Fixing WordPress » Moving WP-Site from Sub-Domain to Main-Domain

  • Resolved philipsellner

    (@philipsellner)


    Hello I have the following problem:
    the website is running fine on our sub-domain
    but when I try to move it to the main-domain I get this error:
    “Parse error: syntax error, unexpected ‘?’ in /homepages/34/d590673098/htdocs/wordpress/wp-content/themes/oceanwp/inc/third/class-gutenberg.php on line 313”
    I already changed the entrys inside the database of siteurl and home and tried to change it direcly in the wp-config.php file nevertheless it won’t work.
    Does anyone have an idea how I could fix this issue

    • This topic was modified 9 months, 2 weeks ago by Yui. Reason: moved to fixing wordpress

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    It seems that file got corrupted somehow. Try getting a fresh download of the theme and replacing all of its files via FTP. (Or completely uninstall, then re-install via the themes admin page)

    If you continue to have that error after re-installing, please seek assistance via the theme’s dedicated support forum.

    Thread Starter philipsellner

    (@philipsellner)

    Thank you very much for your help.
    I have tried some other ways and found out that my php version was the problem. The subdomain had an higher version and so wordpress couldn`t run on the main-domain. I changed the settings to match the versions of each other and now it runs fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moving WP-Site from Sub-Domain to Main-Domain’ is closed to new replies.