Title: critical errors
Last modified: January 21, 2026

---

# critical errors

 *  Resolved [beachmat](https://wordpress.org/support/users/beachmat/)
 * (@beachmat)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/critical-errors-33/)
 * This is causing critical errors for me. It was working initially, but now even
   if I remove the function from the visibility field, it still crashes. If I competely
   delete the item that had it applied, then the page will render again.

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

 *  Plugin Author [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/critical-errors-33/#post-18794047)
 * Hi [@beachmat](https://wordpress.org/support/users/beachmat/),
 * Sorry to hear you are having trouble with the plugin! Could you please share 
   the error messages from your error log? You can email them to me via [jhorowitz@aod-tech.com](https://wordpress.org/support/topic/critical-errors-33/jhorowitz@aod-tech.com?output_format=md)
   or post them here.
   Thanks!
 *  Plugin Author [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/critical-errors-33/#post-18794049)
 * Also, which version of Divi are you using? Is it the theme or the builder plugin?
 *  Thread Starter [beachmat](https://wordpress.org/support/users/beachmat/)
 * (@beachmat)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/critical-errors-33/#post-18794626)
 * I’m using the latest Divi 5 theme beta.
 * The debug log says
 * PHP Parse error: syntax error, unexpected token “;” in /home/eyredesi/staging-
   z.eyre-design.co.uk/wp-content/plugins/content-visibility-for-divi-builder/includes/
   plugin.class.php(233) : eval()’d code on line 1
 *  Plugin Author [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [4 months ago](https://wordpress.org/support/topic/critical-errors-33/#post-18803238)
 * That would indicate an error in the visibility field code, by trying to execute
   multiple statements separated by semicolons. If you need multiple statements,
   you should define a custom function in your theme’s functions.php that returns
   a boolean and call it in the visibility field.
 *  Plugin Author [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [1 week ago](https://wordpress.org/support/topic/critical-errors-33/#post-18916411)
 * Hello [@beachmat](https://wordpress.org/support/users/beachmat/),
 * After further digging and the bug report by [@ighulme](https://wordpress.org/support/users/ighulme/),
   we have released a fix that may apply to this. Version 5.01 now strips leading
   and trailing whitespace from expressions and skips processing if there is nothing
   left in the field.
 * Thank you for your patience and for using our plugin!
 *  Thread Starter [beachmat](https://wordpress.org/support/users/beachmat/)
 * (@beachmat)
 * [14 hours, 14 minutes ago](https://wordpress.org/support/topic/critical-errors-33/#post-18922722)
 * Ok, thank you.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-errors-33%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/content-visibility-for-divi-builder/assets/icon-256x256.
   png?rev=1359961)
 * [Content Visibility for Divi Builder](https://wordpress.org/plugins/content-visibility-for-divi-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-visibility-for-divi-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [beachmat](https://wordpress.org/support/users/beachmat/)
 * Last activity: [14 hours, 14 minutes ago](https://wordpress.org/support/topic/critical-errors-33/#post-18922722)
 * Status: resolved