gjsmith66
Forum Replies Created
-
This issue has remained for the last several versions. If folks do not want their log files filling up with warnings, they need to manually add this code. Author, can you please add this fix to the codebase? It is clear that there is a scenario in which $meta is not an array, you don’t test for it, and then try to access $meta[‘saved’], which is what causes the warning message.
Pretty please?
function get_saved_meta($object = false)
{$meta = $this->image->meta_data;
// Add here…
if (!is_array($meta)) {
return false;
}The beginning of the function should look like the below. This should be an easy fix for the author of this plugin. It seems obvious that $meta can NOT be an array at times, as they check for that later after trying to set $meta[‘saved’], although I could be missing something…
function get_saved_meta($object = false)
{$meta = $this->image->meta_data;
// Add here…
if (!is_array($meta)) {
return false;
}if (!isset($meta[‘saved’])) {
$meta[‘saved’] = FALSE;
}
//check if we already import the meta data to the database
if (!is_array($meta) || $meta[‘saved’] != true) {
return false;
}Can you give me some more details, is this a form in the Post content?
Forum: Plugins
In reply to: [Cookie Monster] Cookie Monster does not workmtsvelik, please give the new version a try. If you have any issues, leave me a comment on my blog. Thanks!
Forum: Plugins
In reply to: [Cookie Monster] Can we update Cookie Monster?Hey Wasca, I just saw your comments recently. I have updated Cookie Monster, and it now allows you to create a session cookie by setting an expiration date of 0 days in future. You can also set any number >0 as the number of days for cookie to last. I did not implement a particular date, I will add that in the future. Feel free to post any further comments on my blog page.
Thanks!