Support » Plugin: Code Snippets » PHP Error with Plugin

  • Resolved kieranolsson


    Receiving this error on the back-end:
    Undefined variable: return_string in /wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()’d code on line 15

    Currently nothing is wrong with the site that i can see. But this error shows up in my logs.

    When looking into the code this is the variable:
    ” $result = eval( $code ); “

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


    This error comes from the code in one of your snippets. It’s not something coming from the plugin as downloaded or that I can fix; you need to look through your snippets (the search feature could be useful here) and find one where you have a misplaced $ sign in front of return_string

    Thread Starter kieranolsson


    Thanks for the help, i had a quick look and you were right!!! i had a snippet with $retun_string….


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Error with Plugin’ is closed to new replies.