-
AuthorPosts
-
May 18, 2015 at 5:49 pm #276411
Hi, I’m unable to access the Demo Content. I just get a blank page (using HHVM) and I get this error using PHP:
Fatal error: Cannot use object of type WP_Error as array in /usr/local/nginx/html/spelite.com/public/wp-content/themes/x/framework/functions/global/admin/addons/page-demo-content.php on line 44
I am using Vagrant and realize that this might be part of the issue. I was able to resolve an error in the plugins section (seperate from this issue) by adding this line in my /etc/hosts file:
66.155.40.202 api.wordpress.org
So I am led to believe that this may be a DNS issue. I’m also getting this error when I try to Submit my API Key:
Could not establish connection. Please ensure your firewall is not blocking requests to theme.co
Any tips on how to fix? I already tried adding the certificate to /wp-includes/certificates/ca-bundle.crt mentioned in this thread:
May 18, 2015 at 5:58 pm #276421Trying to add this to my Vagrantfile to see if DNS issues are the problem:
config.vm.provider "virtualbox" do |v| v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] v.customize ["modifyvm", :id, "--natdnsproxy1", "on"] end
If you don’t hear back from me – that’s the fix.
May 18, 2015 at 8:36 pm #276497Glad that you found the fix.
Let us know if you still have questions in the future.
Thanks.
-
AuthorPosts