Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #276411

    sp_sam
    Participant

    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:

    https://theme.co/x/member/forums/topic/workaround-could-not-establish-connectioncheck-firewalldemo-content-fail/#post-266332

    #276421

    sp_sam
    Participant

    Trying 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.

    #276497

    Lely
    Moderator

    Glad that you found the fix.

    Let us know if you still have questions in the future.

    Thanks.