After upgrading TablePress to 3.0, first page reload apparently tries to convert existing tables/datatables from v1 to v2.
If/when datatables_custom_commands
array key is missing, you’ll get a TypeError
fatal error during conversion, because TablePress::convert_datatables_api_data()
is expecting a string
, nut a null
value. This only happens once after plugin upgrade, but is reproducable, when pulling production data with TablePress 2.4.4 and upgrading to 3.0. This happens at least with PHP 8.3. Not sure about previous versions if they’re so strict about types.
If you need more info, happy to provide.
Full error:
[21-Nov-2024 11:24:46 UTC] PHP Warning: Undefined array key "datatables_custom_commands" in /app/wordpress/wp-content/plugins/tablepress/models/model-table.php on line 1089
[21-Nov-2024 11:24:46 UTC] PHP Fatal error: Uncaught TypeError: TablePress::convert_datatables_api_data(): Argument #1 ($code) must be of type string, null given, called in /app/wordpress/wp-content/plugins/tablepress/models/model-table.php on line 1089 and defined in /app/wordpress/wp-content/plugins/tablepress/classes/class-tablepress.php:620
Stack trace:
#0 /app/wordpress/wp-content/plugins/tablepress/models/model-table.php(1089): TablePress::convert_datatables_api_data(NULL)
#1 /app/wordpress/wp-content/plugins/tablepress/classes/class-controller.php(123): TablePress_Table_Model->update_custom_commands_datatables_tp30()
#2 /app/wordpress/wp-content/plugins/tablepress/classes/class-controller.php(31): TablePress_Controller->plugin_update_check()
#3 /app/wordpress/wp-content/plugins/tablepress/controllers/controller-admin.php(54): TablePress_Controller->__construct()
#4 /app/wordpress/wp-content/plugins/tablepress/classes/class-tablepress.php(228): TablePress_Admin_Controller->__construct(NULL)
#5 /app/wordpress/wp-content/plugins/tablepress/classes/class-tablepress.php(281): TablePress::load_class('TablePress_Admi...', 'controller-admi...', 'controllers')
#6 /app/wordpress/wp-content/plugins/tablepress/classes/class-tablepress.php(159): TablePress::load_controller('admin')
#7 /app/wordpress/wp-includes/class-wp-hook.php(324): TablePress::run('')
#8 /app/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#9 /app/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /app/wordpress/wp-settings.php(704): do_action('init')
#11 /app/wordpress/wp-config.php(152): require_once('/app/wordpress/...')
#12 /app/wordpress/wp-load.php(50): require_once('/app/wordpress/...')
#13 /app/wordpress/wp-admin/admin.php(34): require_once('/app/wordpress/...')
#14 /app/wordpress/wp-admin/index.php(10): require_once('/app/wordpress/...')
#15 {main}
thrown in /app/wordpress/wp-content/plugins/tablepress/classes/class-tablepress.php on line 620
]]>
I looked at my page today and it’s all white background. I haven’t changed anything. I looked at other tables and they aren’t legible either.
I have gone through and fiddled with CSS and it doessn’t seem to change anything. What do we need to know about the new update to mitigate this? At is stands the table isn’t legible at all now.
Thanks for great addon btw but thiss needs to be resolved asap. I’ll revert to previous versionn until further notice.
Edit: I did read the release nnotes, but this CSS change applies to the base unsorted table
>>
Before updating, make sure to understand potential breaking changes to backward compatibility:
Hi,
All my tables used to be 100% width. On the page I have provided you can see the second tab the table has 1 column and it is still 100% width, the third tab has a table that used to be the same width but it is small now.
And I do have the following CSS at the plugin options:
.tablepress-scroll-wrapper .dt-container {
width: 100% !important;
}
Hello.
After the update, horizontal scrolling no longer moves smoothly.
I’m setting it up with my own CSS, but the TablePress demo page’s reverse mode behaves similarly, so I think new JS or CSS is involved.
https://tablepress.org/modules/responsive-tables/#flip-mode
Smooth scrolling is an image of the unfixed table part bouncing after scrolling.
Please let me know if there is a solution using css.
]]>Hello!
I’ve bought max plan, but automatic import doesn’t work. Why and what to do?
When I?import table?manually, everything is ok. But if I click “Run now” in Automatic import – nothing happens.
Cron is disabled, but it’s enabled via my hosting?and runs every 10 minutes.
after update new version follow issue:
class=”home page-template-default page page-id-2 logged-in admin-bar no-customize-support body-header-style3 body-fullscreen-sections body-fullscreen-first-section-colored”
]]>Hi, after updating to the latest version I now have css issues and my tables do not look the way they did before. They design also loads strangely.
Edit: I performed a rollback and now it looks good. Sorry, cannot update to latest version.
]]>Hi there,
First of all, thanks for this amazing and useful plugin. It is a life saver for most of my academic websites.
Problem is that in one specific website I do not get to visualize content in the import menu.
Please, take a look: https://cln.sh/15l2kqT6
This is how it should look: https://cln.sh/88L5qx2m
I’ve already turned off all my other plugins in order to find out if there is something interfering with TablePress functionality, but everything else is apparently fine.
Any help will be welcome.
Thanks in advance!
]]>I started to use this plug-in today, and it is awesome. But I am using a dark background to my webpage and I would like to change the font and colours of the text around the “Show XX entries” and “search” at the top plus the “showing xx of xx” at the bottom.
I’m a novice at CSS but I would like to get some idea of how to do this. I’ve put a couple of images below to illustrate my issue. Thanks in advance!
The TablePress menu is missing from the admin side bar in the WordPress dashboard.
I deactivated the plugin and then reactivated it and then it forwarded me to a page that says I don’t have permission to view.
I don’t know how how I lost permission to view the plugin dashboard.
The tables I made before still work. The plugin obviously works still but I lost access to the table manager.
Hello!
I have a problem with shortcodes from plugins like WPML or Shortcoder that I use in tables from Tablepress. The problem is:
When I change the value inside WPML’s shortcode, the value in table doesn’t change (in incognito mode, when not logged in). So I go to WP rocket and clear cache and used CSS, but it doesn’t help.
Clearing cache and used CSS in WP Rocket starts working only if I use “cache_table_output=false” or enable your TablePress Extension from here https://www.ads-software.com/support/topic/different-data-showing-when-not-logged-in/ . Even though WP Rocket continues to cache, but it finally clears when I click “clear” in WP Rocket.
So my question is why do I need extra plugins to clear cache? Will wp rocket continue caching tables if I enable that TablePress Extension? What does that Extension do? It just helps WP rocket to clear cache or it disables cache at all?
I want to save caching of tables, but also have an opportunity to clear it.
I love your plugin and I want to buy max version. Are there more functions about caching in Max Version?
I hope I described the problem well enough, but I can give you access to admin panel of test site to show the problem if you need.
Hi,
what happens if I use ftp to upload csv-file to somewhere, tell Tablepress to import it with “Automatic Periodic Table Import” and then delete the original file? Is the table also deleted in WP? What if I upload the same file, but modified, again (after deleting)?
]]>After you select Pagination for a table and are viewing the table, at the top, you are given a way to show various entries “Show?10 20 25 50 100?entries. It would be nice to also have an ‘All’ option in that pick list. I have a few tables that have more than 100 entries. Just a thought.
Ted
]]>When I visit my side on mobile version I notice that it is excessively zoomed out, and it seems to be adjusted to the width of the table. I am pretty sure the issue is the table, but I may be wrong. I know very little about website development, and don’t understand the “CSS” too much, but it seems like this could help me. I would love to know how to adjust it better for mobile version. Thanks
]]>Hello
Good Day
How can I remove the shadows of the sorting arrows? No matter how much I searched the forum, I could not find the code. It is very important to me because I made the heading text white and the arrows are white. Now a white shadow has come under it and it is really ugly
The next question is how can I change the font of the lower part of the table that says Showing … to … of … entries?
Thank you in advance for your response
I am trying to assign permissions to t a custom role so that the TablePress option will appear on the dashboard menu. I have assigned permissions below but cannot get it to appear – Any suggestions?
tablepress_edit_tables tablepress_delete_tables tablepress_list_tables tablepress_add_tables tablepress_copy_tables tablepress_import_tables tablepress_export_tables tablepress_access_options_screen tablepress_access_about_screen
]]>Mornin’ Tobias … I’m wondering if a Category feature might be in 3.0, even in a paid version? If not, I’ll go ahead and write a plugin for them. What I’m looking for, is being able to group tables into their own Categories, as in:
1) Add WordPress Admin menu item: Tablepress | All Tables | Add New Table | Add Table Category [new] | Import a Table … etc.
2) Add Category dropdown to Add New Table metabox.
3) Add Category dropdown to All Tables listing, to allow viewing of All Tables, Category 1, Category 2 … etc.
4) Add Category dropdown to the table edit page, to add or edit the Category for the specific table.
5) Add Category attribute option to the Tablepress shortcode, to display only the selected tables in the selected Category.
6) Add Category to the import and export functions.
Thanks!
Dave
Error example:
Warning: Undefined array key “print_name” in /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 950
Warning: Undefined array key “print_description” in /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 951
Warning: Undefined array key 0 in /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 960
Warning: Undefined array key 0 in /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 965
( several other lines… )
—
Inside the ADMIN of site, after choose ADD NEW PLUGIN:
Warning: Undefined property stdClass::$plugin in /www/wwwroot/blog.tio.digital/wp-includes/class-wp-list-util.php on line 168
Warning: Undefined property: stdClass::$plugin in /www/wwwroot/blog.tio.digital/wp-includes/class-wp-list-util.php on line 168
—
If I disable the Tablepress plugin the error on ANY search ( outside and inside de site ) will disappeared…
I am using PHP 8.2. If I change to PHP 7.2 the error disappeared ! But then I will get several errors about high memory use of the wordpress on the server….
—
Also, I have the warning from WordPress about a FATAL ERROR. The message is: WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site and notifies you with this automated email. In this case, WordPress has detected an error with your plugin: TablePress.
Details about the error:
An error of type E_ERROR was caused on line 403 of the file
/www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/classes/class-tablepress.php.
Mensagem de erro: Uncaught TypeError: TablePress::get_user_display_name(): Argument #1 ($user_id) must be of type int, null given, called in /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/views/class-all-tables-list-table.php on line 285 and defined in /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/classes/class-tablepress.php:403
Stack trace: 0 /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/views/class-all-tables-list-table.php(285):
TablePress::get_user_display_name() 1 /www/wwwroot/blog.tio.digital/wp-admin/includes/class-wp-list-table.php(1797):
TablePress_All_Tables_List_Table->column_table_last_modified_by() 2 /www/wwwroot/blog.tio.digital/wp-admin/includes/class-wp-list-table.php(1740):
WP_List_Table->single_row_columns() 3 /www/wwwroot/blog.tio.digital/wp-admin/includes/class-wp-list-table.php(1727):
WP_List_Table->single_row() 4 /www/wwwroot/blog.tio.digital/wp-admin/includes/class-wp-list-table.php(1712):
WP_List_Table->display_rows() 5 /www/wwwroot/blog.tio.digital/wp-admin/includes/class-wp-list-table.php(1639):
WP_List_Table->display_rows_or_placeholder() 6 /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/views/view-list.php(380):
WP_List_Table->display() 7 /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/classes/class-view.php(284):
TablePress_List_View->textbox_tables_list() 8 /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/views/view-list.php(307):
TablePress_View->do_text_boxes() 9 /www/wwwroot/blog.tio.digital/wp-content/plugins/tablepress/controllers/controller-admin.php(671):
TablePress_List_View->render() 10 /www/wwwroot/blog.tio.digital/wp-includes/class-wp-hook.php(324):
TablePress_Admin_Controller->show_admin_page() 11 /www/wwwroot/blog.tio.digital/wp-includes/class-wp-hook.php(348):
WP_Hook->apply_filters() 12 /www/wwwroot/blog.tio.digital/wp-includes/plugin.php(517):
WP_Hook->do_action() 13 /www/wwwroot/blog.tio.digital/wp-admin/admin.php(259): do_action() 14 /www/wwwroot/blog.tio.digital/wp-admin/options-general.php(10): require_once(‘…’) 15 {main}
thrown
]]>Hi
I would like to access to the “Custom CSS” text area on the “Plugin Options” screen of TablePress, but I don’t see any “Custom CSS” text area. I see only “Admin menu entry”.
Could it be a user rights issue? Is it necessary to have administrator rights to see “Custom CSS” option?
Thank You
]]>Hello! When updating a TablePress table and updating my browser I don’t see the changes, I purge cache and nothing, I have disabled the cache and I still don’t see the changes.
]]>Hi,
we’re currently using the free TablePress plugin. The responsive styling is done through TablePress Extension: Responsive Tables. Now that you’re retiring that plugin, we need to buy the pro version of TablePress.
Now to my question: will any of my styling or settings change once I move to TablePress Pro?
Best regards
]]>Hello Tobias,
I’m asking for your help again.
I have a site with 4 products pages, each with a table.
On 2 of the 4 pages, the table is displayed correctly on the computer version, on the tablet version and on the smartphone version.
On the other 2 pages, the table also displays correctly except on the tablet version.
Here are the pages where the table does not display correctly on the tablet version:
https://www.projac-bonfiglioli.fr/cisaille-horizontale/
https://www.projac-bonfiglioli.fr/cisaille-verticale/
I don’t understand because I’ve built all 4 pages on the same model.
Can you help me?
Thanks for support.
Regards
Kévin
Hello Tobias,
First of all, thank you for your work.
I’m having a little difficulty with my table, I have an extra line that integrates at the end of the table, I can’t remove it.
Can you give me some advice?
Thanks in advance
Regards
Warm greetings, Tobias.
I hope you’re keeping well. I’m a Canadian Buddhist monk currently living in Sri Lanka. I doubt if you remember, but you previously assisted me with a table issue and responded promptly, even though I wasn’t on any of the premium plans. I really appreciated that support.
I recently created a larger database for my website, https://www.dhammavinyapatipada.com. Theravada monks are not allowed to handle money, so a gentleman from the United States has offered to help by purchasing a lifetime pro plan for me. He intends to make a one-time payment and have the plan applied to my website.
Could you please advise on how this could be arranged? Once again, thank you for all the hard work you put into making this excellent plug-in—it’s a great tool for non-programmers like myself.
Wishing you all the best from Sri Lanka.
]]>Hello,
First, thank you for all the work you put into developing and maintaining this plugin! I’ve been enjoying using it, and it’s become a crucial part of my workflow.
I have a feature request, where I could add customizable borders to individual columns, like vertical borders ( in excel). This is for separate content better in a table.
I understand that adding new features requires time and resources, but if this aligns with your development roadmap or if there are any workarounds available in the meantime, please let me know.
Thank you again for your hard work, and I look forward to hearing your thoughts!
]]>Hi there,
We are trying to export all of our tables and import them into a new site. We need the tables to be imported with the same shortcodes. But, every time I import them, it changes the short codes. Can you help? Thanks!
]]>Dear TablePress Team,
First, I would like to express my gratitude for the excellent work you’ve done with TablePress. It has proven to be an invaluable tool for managing and displaying data within WordPress.
Currently, we are using several tables where the horizontal hover effect works perfectly. However, we would also like to implement a vertical hover effect, highlighting entire columns when hovering over cells.
Could you kindly provide any guidance, code examples, or recommendations (such as via CSS or other settings) that would help us achieve this functionality?
Thank you in advance for your assistance, and again, thank you for providing such a robust and reliable plugin.
]]>Hi, there,
Since your last update, it appears that the boxes for “Show xxx entries” and for “Search: ” does not show now on the screen on PC or laptop. However, it does on mobile’s screen!
The options for those options are duly activated.
Many thanks for your support.
]]>Hi
could you please suggets a formula to insert in cel of Tablepress to calcuate the number of days between two dates.
Thanks
Carlo
]]>Hi All
Does anyone knows about the typical reaction Time of Tablepress Team?
I’ve sent them two mails in the past 8 hours and havent got any confirmation or reply.
Tobias, if you see this, please check my mail concerning the Premium Modules (Search Pane).
]]>