grange85
Member
Posted 4 months ago #
Just noticed this error is turning up on individual posts that have videocontent it doesn't show up on pages of posts - just individual posts.
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /f2/grange85/public/wp/wp-content/plugins/simple-facebook-connect/sfc-media.php on line 22
You can see the error in all its glory here http://www.fullofwishes.co.uk/2011/11/07/extracurricular-naomi-yang-video-maker/
I'm not sure if it's related to the recent upgrade from 3.3 to 3.3.1
Any help appreciated
http://wordpress.org/extend/plugins/simple-facebook-connect/
Why do you have display_errors enabled on a live site?
Warnings are just warnings. Turn off display_errors.
Next version will remove the warning, but seriously, never enable display_errors on a live site. That's crazy.
grange85
Member
Posted 4 months ago #
So it's a known error? Thanks for this.
ChrisStoneman
Member
Posted 3 months ago #
I also have this error. I've not amended any display_errors settings.
How do I switch them off?
kolorowestudio
Member
Posted 2 months ago #
http://php.net/manual/en/function.error-reporting.php
<?php
// Turn off all error reporting
error_reporting(0);
// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);
// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);
// Report all PHP errors (see changelog)
error_reporting(E_ALL);
// Report all PHP errors
error_reporting(-1);
// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
?>
Stu Pidaso
Member
Posted 2 months ago #
Thanks for the link kolorowestudio but I am confused as to where to find this. I am having the same issue as well.
ChrisStoneman
Member
Posted 2 months ago #
Thanks Kolorowestudio, but your solution confused me a little.
This thread has solved my problems
http://wordpress.org/support/topic/hide-php-error-message?replies=5
Stu Pidaso
Member
Posted 2 months ago #
Thanks! That did the trick.