Title: Undefined variable $et_pb_element
Last modified: August 28, 2025

---

# Undefined variable $et_pb_element

 *  Resolved [kindred](https://wordpress.org/support/users/kindred/)
 * (@kindred)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-et_pb_element/)
 * The update to v4.0 of this mod appears to have introduced a problem.
 * **Warning**: Undefined variable $et_pb_element in **/…/wp-content/plugins/content-
   visibility-for-divi-builder/includes/cvdb-et-builder-element.class.php** on line**
   97**
 * I get this for EVERY time the content visibility plugin is used for a module 
   on the page (in some cases, 30 or more)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-et_pb_element%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-et_pb_element/#post-18618299)
 * Hi [@kindred](https://wordpress.org/support/users/kindred/),
   Thank you for the
   quick report and our sincerest apologies for the flood of warnings! This has 
   been fixed in v4.01 which has just been released.Please upgrade when the update
   becomes available for download shortly.
 *  Thread Starter [kindred](https://wordpress.org/support/users/kindred/)
 * (@kindred)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-et_pb_element/#post-18618322)
 * thank you for the very fast response!
   Confirmed fixed!
    -  This reply was modified 9 months ago by [kindred](https://wordpress.org/support/users/kindred/).
 *  Plugin Author [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-et_pb_element/#post-18618381)
 * Thanks for confirming [@kindred](https://wordpress.org/support/users/kindred/)!
   Marking this as resolved.

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

The topic ‘Undefined variable $et_pb_element’ is closed to new replies.

 * ![](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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/undefined-variable-et_pb_element/#post-18618381)
 * Status: resolved