Title: Error &#8211; eval()’d code on line 6
Last modified: February 8, 2024

---

# Error – eval()’d code on line 6

 *  Resolved [royvinoy](https://wordpress.org/support/users/royvinoy/)
 * (@royvinoy)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-evald-code-on-line-6/)
 * Hello there,
 * We wish to bring to your attention an issue we’ve encountered while utilizing
   your “Code Snippets Pro” plugin. While the plugin has been functioning adequately
   overall, we’ve recently faced a complication within our WooCommerce shop. Specifically,
   a particular product category fails to load properly for logged-in users.
 * In our efforts to resolve this matter, we engaged our server team, who kindly
   provided us with a server error log. Upon review, we identified error messages
   associated with the “Code Snippets” plugin. As a temporary solution, we have 
   disabled the plugin, resulting in the successful loading of the page.
   we getting
   errors like this “[08-Feb-2024 07:08:46 UTC] PHP Warning: Use of undefined constant‘
   __return_false’ – assumed ‘‘__return_false’’ (this will throw an Error in a future
   version of PHP) in /home/customer/www/cathyc17.sg-host.com/public_html/wp-content/
   plugins/code-snippets-pro/php/snippet-ops.php(609) : eval()’d code on line 6”
   Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-evald-code-on-line-6/#post-17408495)
 * Thanks for letting us know! This is actually an error coming from one of your
   snippets – it’s not coming from the plugin itself. You should be able to find
   which one with a search for `__return_false @line:6`.
 *  Thread Starter [royvinoy](https://wordpress.org/support/users/royvinoy/)
 * (@royvinoy)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-evald-code-on-line-6/#post-17408526)
 * How to find that?
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/error-evald-code-on-line-6/#post-17435010)
 * You can search for snippets on the Snippets menu:
 * ![](https://i0.wp.com/i.imgur.com/srBz00Z.png?ssl=1)
 * When you find the one causing issues, feel free to post the code here and I’ll
   see if I can provide any advice for fixing it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error – eval()’d code on line 6’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/error-evald-code-on-line-6/#post-17435010)
 * Status: resolved