What is the correct procedure to "approve" a comment? When I deselect "moderation" and click "delete and update moderation status" I get this:
Warning: array_diff() [function.array-diff]: Argument #2 is not an array in /home/powervo/public_html/gallery/zp-core/admin.php on line 232
Warning: Invalid argument supplied for foreach() in /home/powervo/public_html/gallery/zp-core/admin.php on line 233
Warning: Cannot modify header information - headers already sent by (output started at /home/powervo/public_html/gallery/zp-core/admin.php:232) in /home/powervo/public_html/gallery/zp-core/admin.php on line 266
Comments
Warning: array_diff() [function.array-diff]: Argument #2 is not an array in /home/powervo/public_html/gallery/zp-core/admin.php on line 232
Warning: Invalid argument supplied for foreach() in /home/powervo/public_html/gallery/zp-core/admin.php on line 233
Warning: Cannot modify header information - headers already sent by (output started at /home/powervo/public_html/gallery/zp-core/admin.php:232) in /home/powervo/public_html/gallery/zp-core/admin.php on line 266
replace admin.php line 230
`$notreleased = $_POST['notreleased'];`
with
`if (isset($_POST['notreleased'])) {
$notreleased = $_POST['notreleased'];
} else {
$notreleased = array();
}`
When I turn on "Mark all comments for moderation", the user gets an error message.
Try it here: http://www.reakelly.com/gallery