Okay, I know what the issue it, just not sure why your install is seeing that. I’ve got a way to fix this possibly.
Could you run a test for me? If you’ve got access to your plugin editor page can you visit it. Or add this to your website url: wp-admin/plugin-editor.php?file=custom-login%2Fincludes%2Fadmin%2Fdashboard.php&plugin=custom-login%2Fcustom-login.php
If you scroll almost to the end of the file and find this section:
elseif ( isset( $_GET['type'] ) && $_GET['type'] === 'js' ) {
header("content-type:application/x-javascript");
ob_start();
str_replace( ob_end_clean(), '', ob_end_clean() );
$this->jQuery();
echo ob_get_clean();
die;
}
and add: if ( !headers_sent() )
on the line before header("content-type:application/x-javascript");
Which should look like:
elseif ( isset( $_GET['type'] ) && $_GET['type'] === 'js' ) {
if ( !headers_sent() )
header("content-type:application/x-javascript");
ob_start();
str_replace( ob_end_clean(), '', ob_end_clean() );
$this->jQuery();
echo ob_get_clean();
die;
}
If you do so, can you let me know if this solves your issue.
Uhhhh…. well…..
In the file
custom-login/custom-login.php
I couldn’t even find the block of code you mention……..
elseif ( isset( $_GET['type'] ) && $_GET['type'] === 'js' ) {
header("content-type:application/x-javascript");
ob_start();
str_replace( ob_end_clean(), '', ob_end_clean() );
$this->jQuery();
echo ob_get_clean();
die;
}
As a matter of interest… I searched in the code for
elseif
ob_start
java
and none of those search terms were even in the file custom-login.php
And… I also went over to GitHub… and looked at the custom-login.php file there…
So… unless I am super clueless, which is possible on any given day 🙂 ….
I don’t know wassszzz- wit dat…
I just deleted and reinstalled again the previous version.