Rocio Garcia
asked 4 years ago

WARNING: MISSING ARGUMENT 2 FOR DW_MEGAMENU_REMOVE_TITLE_WIGET_IF_EMPTY() IN /HOME/RSGARCIA2/PUBLIC_HTML/WP-CONTENT/PLUGINS/DW-MEGAMENU/DW-MEGAMENU.PHP ON LINE 145

WARNING: MISSING ARGUMENT 3 FOR DW_MEGAMENU_REMOVE_TITLE_WIGET_IF_EMPTY() IN /HOME/RSGARCIA2/PUBLIC_HTML/WP-CONTENT/PLUGINS/DW-MEGAMENU/DW-MEGAMENU.PHP ON LINE 145

1 Answers
DominicStaff
answered 4 years ago

To resolve this issue, You can open the wp-content -> plugins -> dw-megamenu -> dw-megamenu.php file and find the line 145. Just changed from the following code:
function dw_megamenu_remove_title_wiget_if_empty( $title, $instance, $id_base ) {

With new code:
function dw_megamenu_remove_title_wiget_if_empty( $title = '', $instance = array(), $id_base = '' ) {
Regards,

rocio_garcia
replied 4 years ago

Thank you!! ๐Ÿ˜€

Powered by DW Question & Answer Pro