• I am seeing this in my error logs
    PHP Fatal error: Cannot redeclare sanitize_option() (previously declared in /wp-content/plugins/simple-ads-manager/sam-ajax.php:47) in /wp-includes/formatting.php on line 4462

    This tells me that SAM redeclares a function with the same name (function sanitize_option), which is already declared in WP core file formatting.php. Is this a naming conflict?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same issue here

    I’m having the same error:

    #0 /www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
    #1 /www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
    #2 [internal function]: WP_Fatal_Error_Handler->handle()
    #3 {main}

    Has anyone resolved this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple Ads Manager redeclaring a function’ is closed to new replies.