Hi, WordPress (6.0.2) detected a problem with Popups for Divi (3.0.5) running on PHP 7.4.30.
Will there be a fix, or can we do something ourselves?
An error of the type E_ERROR is caused on rule number 26 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/popups-for-divi/includes/assets/functions.php. Error: Uncaught Error: Call to undefined function dm_get_const() in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/popups-for-divi/includes/assets/functions.php:26 Stack trace: #0 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(307): pfd_assets_enqueue_js_library() #1 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #3 /var/www/vhosts/domain.com/httpdocs/wp-includes/script-loader.php(2156): do_action() #4 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts() #5 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #7 /var/www/vhosts/domain.com/httpdocs/wp-includes/general-template.php(3042): do_action() #8 /var/www/vhosts/domain.
Jeroen Answered question September 9, 2022
Hi Philipp,
There’s no
define( 'DM_DASH_PATH',
in the wp-config file of the childtheme. But today we also received a similar error from another domain. Both domains are running the WP Cerber 9.1 plugin. Maybe there is a conflict with that. To me it looks similar, but no dev here…
Error details =========== Een fout van het type E_ERROR werd veroorzaakt op regelnummer 207 van het bestand /var/www/vhosts/domain2.com/httpdocs/wp-content/themes/Divi/functions.php. Foutmelding: Uncaught Error: Call to undefined function et_builder_get_fonts() in /var/www/vhosts/domain2.com/httpdocs/wp-content/themes/Divi/functions.php:207 Stack trace: #0 /var/www/vhosts/domain2.com/httpdocs/wp-content/themes/Divi/functions.php(229): et_divi_fonts_url() #1 /var/www/vhosts/domain2.com/httpdocs/wp-includes/class-wp-hook.php(307): et_divi_load_fonts() #2 /var/www/vhosts/domain2.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /var/www/vhosts/domain2.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #4 /var/www/vhosts/domain2.com/httpdocs/wp-includes/script-loader.php(2156): do_action() #5 /var/www/vhosts/domain2.com/httpdocs/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts() #6 /var/www/vhosts/domain2.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #7 /var/www/vhosts/domain2.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #8 /var/www/vho
I’ll disable the plugin on one site and see if the error is still generated tomorrow…
Thanks for your support
Philipp Posted new comment September 14, 2022
Thanks for the addition.
In your other website’s log entries, the relevant message is, “Call to undefined function et_builder_get_fonts()” which indicates that a DIVI theme file is not loaded.
I’m not sure how this can happen – both your error messages refer to the fact, that a core function of “Divi”, or “Popups for Divi” is missing. This can usually only happen, when a file is edited. You’re possibly able to solve those issues by deleting the relevant plugin or the Divi theme and installing them again.
But the fact, that files were edited or deleted is very suspicious, and you should check the logs of WP Cerber to find out if your site was compromised or why those files were modified. Those details are possibly documented in the “Site Integrity” section of WP Cerber