PHP error when Divi Single Page Module Need to correct before next update
-
I turned on wp_debug and I was getting a PHP error saying:
“Deprecated: Required parameter $render_slug follows optional parameter $content…/wp-content/plugins/estatik/admin/classes/widgets/divi/class-single-property-module.php line 29”
I swapped:
public function render( $unprocessed_props, $content = null, $render_slug )
For:
public function render( $unprocessed_props, $render_slug, $content = null ) to fix the error
Please make this a permanent fix before the next update. The update to version 4 has been quite the struggle.
The topic ‘PHP error when Divi Single Page Module Need to correct before next update’ is closed to new replies.