We launched our site last night and I ran into a strange problem with DCG.
We are using the One Category option. When we added our new content, I changed the category selection to the Feature category. On clicking save changes, it reverted to the "Spirituality and Religion" category (one of many).
As a test, I unpublished the "Spirituality and Religion" article and tried again to change to featured. On clicking save changes, it reverted to the "All" category.
I got around it by using the multi option setting which worked fine. As you know I have been using your plugin at 3 sites and never seen this.
The only thing that is different is that were doing this in maintenance mode. Also, I note that you mention plugin conflicts with contact form 7 but we are running that at the other sites as well.
Every heard of this? I have not upgraded yet .. been pretty busy!
Thanks in advance for any ideas.
Cheers.
Gil
P.S. I hope I posted this in the right place!
8:03 pm February 1, 2010
Ade
Admin
posts 1233
2
Hi Gil,
Yep, this is the right place to post.
No, I haven't come across this problem with v3.1. Javascript conflicts would affect the display of teh gallery, not the saving of options.
We have a similar problem although it’s the multi option as opposed to the one category option, so I hope you don’t mind me posting in this thread. Since tweaking the settings (add custom field columns) after upgrading to version 3.2, all the categories reverted to the first category from the previously set featured category and will not change back (will change to any category other than “featured”). From trying to resolve this issue, it only appears to affect a category (old, changed or new) with the word featured in the slug/name.
No error generated in the error log.
CentOS 5
WordPress Version: 2.9.1
Dynamic Content Gallery plugin Version: 3.2
12:33 am February 3, 2010
Ade
Admin
posts 1233
6
Hi,
Which version did you upgrade from? v3.1?
Do you have phpmyadmin access? If so, use it to browse to your wp_options table, look for the dfcg_plugin_settings entry and post here the value shown. (This will help me to debug).
WP and I believe v3.1 (v3.2 was the first to amend the db – if that helps)
Heres what you requested (URL structure has been manually edited /*REMOVED*/ – PM if you need it)
Details removed by Admin
As I said no error regarding categories is outputted, although the plugin does generate an unrelated(?) error notice when a new post is published (since upgrade).
PHP Warning: call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'dfcg_save_metabox_data' was given in ../wp-includes/plugin.php on line 339 which is: call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
1:39 am February 3, 2010
Ade
Admin
posts 1233
8
Thanks for that. I'm looking into it now.
SIlly question, perhaps, but I have to ask: do you have any posts assigned to your "featured" category?
Also, what exactly do you have in the multi-option settings for each image slot?
Worked perfectly, many thanks for your support at this late hour. Keep up the great work!
I will try to update you on the mentioned php warning when the next post is published.
Great! The PHP error should disappear now, too.
Edit: Actually – this is a separate bug due to a missing argument in the add_meta_box functions. It throws a PHP error but doesn't stop anything working. I'll fix this in a maintenance release tomorrow.
In the meantime, if you wish (it would also be a useful double-check for me), you can fix it by making two small changes to dfcg-admin-metaboxes.php:
I have only just seen your edit about the PHP warning, I will do the edits and let you know the result when the next post is published (4 hours time from now).
Thanks again!
8:01 pm February 3, 2010
Ade
Admin
posts 1233
20
nerby said:
Hey Ade,
I have only just seen your edit about the PHP warning, I will do the edits and let you know the result when the next post is published (4 hours time from now).
Developing plugins for the community represents a considerable investment of my time and energy. If you have found these plugins useful, please consider making a donation to help support future development. Your support will be much appreciated. Thank you!