Support » Plugin: MnCombine » New Empty Needle Apache Error

  • mcpeanut

    (@mcpeanut)


    after checking my error logs i am receiving this error below everytime someone goes to the website, hundreds of these errors in logs.

    mod_fcgid: stderr: PHP Warning: strstr(): Empty needle in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/mncombine/class-plugin-mncombine.php on line 995, referer: http://mywebsite.com/

    https://wordpress.org/plugins/mncombine/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mneil

    (@mneil)

    That would make me think one of your files being included somewhere with enqueue_styles is incorrect. I’m stripping out the url of your site from the file path to get the filename and that error is telling me the filename is empty. For that to happen you’d have to be enqueu’ing a style that doesn’t have a real filename.

    You can patch it by changing line 995 to

    //if( strstr( $css, $use ) )
    //if( !empty($use) && strstr( $css, $use ) )

    But again I don’t think the root cause of the issue is my plugin. It would be worth the effort to make sure that no styles are being included incorrectly on your site.

    Ahh ok cool neil ty again for your attention, I am no longer working on that website as of now, it was a project I have since put on hold whilst I open up a business website, I will however be revisiting this build later on down the line when time permits, I will try to debug this further when the time comes, but once again thx for your help mate.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New Empty Needle Apache Error’ is closed to new replies.