• Resolved tocool

    (@tocool)


    I have two hosting, one at GoDaddy, one at Amazon AWS EC2.
    Everything runs smooth and nice until yesterday. I tried to install a new theme for EC2. After installation, I activated without live preview and ended up — white page of death.
    Then I followed the guidelines online and recovered the WordPress back to the default “Twenty Eleven” theme.

    I was pretty sure it’s theme’s problem so I wanted the way to resolve this.
    Before I turned on EC2’s wordpress’s debug mode, I went and tried on Godaddy and installed the same theme. It ran perfectly!

    I am confused! Really confused! Because all my other themes could install and run on both servers perfectly, just not this one!

    I have checked my EC2 WordPress install again and again. I have re-installed my WordPress on EC2. It won’t work.

    So I have turned the EC2 WordPress’s debug mode on and I found this line:
    Parse error: syntax error, unexpected ‘}’ in /var/www/html/wordpress/wp-content/themes/nemo/registered_fields/menu_custom_field.php on line 188

    My Dreamweaver CS6 replies no error. Please help me, I have copied and pasted my menu_custom_field.php at pastbin.

    Link: https://pastebin.com/ZkrbGmxk

    Thank you all!

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help! php syntax error’ is closed to new replies.