Quick Edit js error: $table_columns[$column_index]
-
This post references the same issue as was posted here: Quick Edit Issue
Version 1.3.5 of CPT-onomies.
In admin-edit.js (in place of admin-edit.min.js for readability), the following error occurs at line 200 after clicking Update on a CPT-onomies custom post type list in admin:
$table_columns[$column_index] is undefined
After it is clicked, the table columns get wacked out and it appears that it gets stuck in an infinite loop ($loop_test
remains true). This seems to happen whether or not another CPT-onomies post type is associated with the current CPT or not.Admittedly I don’t have time right now to cypher what exactly is happening in this function
cpt_onomy_save_quick_edit()
, so for the sake of a quick-fix, right after this line$wp_inline_edit_save.apply( this, arguments );
line 144, I just refresh the page withwindow.location.href=window.location.href
to skip the code that follows. Sorta defeats the purpose of quick-edit, but at least it works.
- The topic ‘Quick Edit js error: $table_columns[$column_index]’ is closed to new replies.