jlapitan
Member
Posted 1 year ago #
i have lots of error logs on my site stating this:
[28-Apr-2012 14:02:08] PHP Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/xxxx/public_html/wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Parser.php on line 212
[28-Apr-2012 14:02:08] PHP Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/xxxx/public_html/wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Parser.php on line 212
http://wordpress.org/extend/plugins/wordpress-https/
I just pushed out a hotfix for this into 3.0.3. Delete the plugin and re-install from the Dashboard. Let me know if the error stops.
jlapitan
Member
Posted 1 year ago #
@Mvied, I am confused about this code, though you have solved the array issue, but the merge logic is correct?
$matches = array_merge($httpsMatches, $httpsMatches);
Shouldn't it be like
$matches = array_merge($httpMatches, $httpsMatches);
OR
$matches = array_merge($httpMatches, $httpMatches);
??????????
Yes, it should. Hah. I'll fix it.