Install piklist (base plugin)
activate it
go media library
edit
save
Warning: array_merge(): Argument #2 is not an array in ……/wp-includes/post.php on line 2743
deactivate plugin
same process
no error or warning.
same here, but two error msgs:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in …/wp-includes/post.php on line 2743
Warning: Cannot modify header information – headers already sent by (output started at …/wp-includes/post.php:2743) in …/wp-includes/pluggable.php on line 881
Error is in process_form function in file includes/class-piklist-media.php
The fix is to return the $post variable.
public static function process_form($post, $attachment)
{
piklist_form::process_form(array(
'post' => $post['ID']
));
return $post;
}
This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies. Find out more.