innocuo
Forum Replies Created
-
Sorry, that is a commercial plugin, so I can’t really test.
But as far as I could see, I think that plugin adds its own custom columns, overriding other plugins.
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Quick Edit IssueI also had this issue, the only fix I found was to make js ignore the code that causes this issue.
See here: https://ww.wp.xz.cn/support/topic/custom-types-quick-edit-bug/
I also have this issue with CPT-onomies, but I don’t have that Toolset Types plugin. This seems to be a bug in CPT-onomies js code.
First of all, it’s not a new issue. See this issue from a year ago, and this one from 9 years ago. Notice that neither have a reply from the plugin author, so expect this issue not to be solved ever.
Second, the issue is caused by bad, ugly, convoluted unnecessary javascript. The issue is in assets/js/admin-edit.min.js, where the author overrides the default WordPress code to save the quick-edit form, to add some sort of weird checks to the column values. That code is all over the place and simply bad: it loops through all the css classes of each column to figure out the names of the columns (when he could simply get them from the th ids at the top of the table), which causes fake values (for example: the code thinks “column-primary” is a displayed column, when it isn’t). Then, it loops again to figure out if a column is or not to be updated. But it starts at index 1 when it should at index 0. After that it makes multiple ajax requests to get the column values….anyway, I can’t find any reason for this code, other than maybe the author was on drugs? not sure.
Long store short, it seems all that code that creates this issue doesn’t need to be there. The fix is to ignore it.
You probably can edit the file in the plugin folder cpt-onomies/assets/js/admin-edit.min.js. It’s a minified file so hard to edit, but look for the code
$wp_inline_edit_save.apply(this,arguments);
and add
return;
after that. That makes it ignore the rest of the code. So far, it seems to be working ok for me.Forum: Plugins
In reply to: [Admin Starred Posts] Use with Pods pluginI’m sorry I didn’t get a chance to reply. I am not getting any sort of notifications whenever someone posts something here 🙁
I’ll be looking into my plugin soon to see if I can add new features, I’m glad you were able to solve the problem, and a million thanks @jimtrue !
Forum: Fixing WordPress
In reply to: Fatal error: Call to a member function do_all_hook() on array inI was having the same issue, and I believe it might be an actual bug in wordpress.
The issue is in wp-includes/object-cache.php. If APC is not enabled in php, wordpress sets “_wp_using_ext_object_cache” to false, but also manually adds a filter to $GLOBALS[‘wp_filter’][‘all’][-100][‘apc_not_actually_running’]. And I think the problem is that it adds it as an array.
so, on wp-includes/plugin.php it calls $wp_filter[‘all’]->do_all_hook( $args );
This fails because $wp_filter[‘all’] is an array, so there’s no do_all_hook
I uncommented the line that sets the filter in object-cache.php (line 667 in the latest version of wp) and my install now works. Another option would be to enable APC on php.
Also, on my now working installation, $wp_filter[‘all’] is a WP_Hook object instead of an array.
Forum: Plugins
In reply to: [Admin Starred Posts] Display problem with quick updatemarkign as solved
Forum: Plugins
In reply to: [Admin Starred Posts] Display problem with quick updateHi Gregoire. Sorry, I didn’t get a notification about your post, so I just saw it.
There’s a new version, 1.1.0 which fixes this issue. Let me know if this works for you.
Thanks!!!