• I installed this plugin to write a blog post and show some code. I literally wrote nothing else but this in a snippet:

    void OnCollisionEnter2D(Collision2D collision){
    
    }

    Then when I activated it, my website broke. I got an error that said:

    Parse error: syntax error, unexpected 'OnCollisionEnter2D' (T_STRING) in /home3/writioj9/public_html/wildcockatielgames/wp-content/plugins/code-snippets/php/snippet-ops.php(426) : eval()'d code on line 1

    Unable to access the site, or admin panel, I went to my FTP and deleted the plugin. The website worked… EXCEPT – the non WWW version of my site still doesn’t work. It gets the same error

    http://www.wildcockatielgames.com –> works
    wildcockatielgames.com –> doesn’t work

    I don’t know how to fix this. I’ve followed the advice in the stickied thread and added the safe mode code to the right file… nothing. I’ve redownloaded the plugin, disabled the snippet, deleted it, still nothing.

    I don’t know why my non WWW version is not working. Please help!

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Obviously, the initial error occurred because that is invalid PHP code. As to why the error is persisting, it is difficult to say without being able to actually examine the website. If you are still experiencing this issue on a site and would be okay to give me temporary access, I would be happy to take a look.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin broke non WWW version of my site’ is closed to new replies.