Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Debora0172

    (@debora0172)

    Received a fatal error / white screen; even in safe mode when adding code using your plugin.

    Message
    ‘Fatal error: Cannot redeclare cuar_default_owner_type() (previously declared in /home/xxxxxx/public_html/wp-content/plugins/code-snippets/includes/snippet-ops.php(446) : eval()’d code:2) in /home/xxxxx/public_html/wp-content/plugins/code-snippets/includes/snippet-ops.php(446) : eval()’d code on line 4’

    Please adv if this is a code snippet plugin error or code error.

    That’s your code. Line 4 of your code has an error.

    Plugin Author Shea Bunge

    (@bungeshea)

    That’s exactly right, Dave. Unfortunately, (due to a limitation of PHP) the error message doesn’t tell you which snippet has the error, so you’ll just have to check the ones you last edited. In this case, it’s due to two functions that have the same name, so you’ll need to rename one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code snippet Issue’ is closed to new replies.