• I am in the process of setting up a new site, and I was trying to install a theme that I purchased from a third-party. I’ve used this theme in the past with no problems, but when I tried to install it, I got a bunch of error messages and was unable to access the dashboard/admin panel of my site. I had to go to my hosting provider and manually delete the theme file to access the site again. I’ve tried updating my PHP version through Siteground, but it hasn’t seemed to help.

    Here are some of the error messages that appear (I replaced my site’s personal info with x’s):

    Warning: include_once(/home/x/public_html/xxxxxx.com/wp-content/themes/amelia-theme/lib/theme-defaults.php): failed to open stream: No such file or directory in?/home/x/public_html/xxxxxx.com/wp-content/themes/amelia-theme/functions.php?on line?6

    Warning: include_once(): Failed opening ‘/home/x/public_html/xxxxxxx.com/wp-content/themes/amelia-theme/lib/theme-defaults.php’ for inclusion (include_path=’.:/usr/local/php70/pear’) in?/home/x/public_html/xxxxxx.com/wp-content/themes/amelia-theme/functions.php?on line?6

    Warning: Cannot modify header information – headers already sent by (output started at /home/x/public_html/xxxxxx.com/wp-content/themes/amelia-theme/functions.php:6) in?/home/x/public_html/xxxxxx.com/wp-admin/includes/misc.php?on line?1196

    Does anyone know why I might be getting these messages and what I can do to fix it? My theme provider does not know how to solve the problem, so I thought I’d ask here as a last resort in case anyone has seen anything like this before. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Possibly a file was clobbered during the download or sometime later… Did you try deleting the theme files and directory, getting a new, better copy of the download, and trying again to install?

    What you’ve got doesn’t work so trying that would be a good place to start.

    You might also want to install a different theme like one of the ‘Twenty’ series themes from the themes repository just to see if a regular install works.

    Theme related issues should be directed to the theme developers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Messages When Installing New Theme’ is closed to new replies.