• When I try to update, create, or delete and event in the Event Organiser I get the error message strings shown below.

    Warning: strtolower() expects parameter 1 to be string, array given in /home/dethrives/public_html/wp-includes/formatting.php on line 1501

    Warning: Cannot modify header information – headers already sent by (output started at /home/dethrives/public_html/wp-includes/formatting.php:1501) in /home/dethrives/public_html/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /home/dethrives/public_html/wp-includes/formatting.php:1501) in /home/dethrives/public_html/wp-includes/pluggable.php on line 1167

Viewing 1 replies (of 1 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    I’ve not been able to replicate this issue. I wonder if its specific to your set up (i.e. plugins/themes).

    Are able to determine what the call trace is that leads to this warning? You can do that by adding these lines just before line 1500 in wp-includes/formatting.php (source: https://github.com/WordPress/WordPress/blob/4.6.1/wp-includes/formatting.php#L1500).

    
    if ( is_array( $string ) ) {
        error_log( wp_debug_backtrace_summary() );
    }
    

    Only do that if you’re comfortable editing WordPress’ source files, and please don’t do it on a live site!

    The other two warnings are caused by the first.

Viewing 1 replies (of 1 total)
  • The topic ‘Event Organiser Plugin sending error message from core WordPress files’ is closed to new replies.