Hi, I just updatet from php 7.4 to php 8.2 and there is that error:. Can you please help me:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 656 der Datei /wp-content/plugins/footable/includes/Foo_Plugin_Base.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function create_function() in /wp-content/plugins/footable/includes/Foo_Plugin_Base.php:656
Stack trace:
#0 /wp-content/plugins/footable/includes/Foo_Plugin_Base.php(678): Foo_Plugin_Settings_v1_0->add_section()
#1 /wp-content/plugins/footable/includes/admin_settings.php(23): Foo_Plugin_Settings_v1_0->add_section_to_tab()
#2 /wp-includes/class-wp-hook.php(324): FooTable_Settings::create_settings()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-content/plugins/footable/includes/Foo_Plugin_Base.php(257): do_action()
#6 wp-includes/class-wp-hook.php(324): Foo_Plugin_Base_v1_1->admin_create_settings()
#7 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#8 /wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /wp-admin/admin-ajax.php(45): do_action()
#10 {main}
? thrown
Dear support team,
within debug.log I am getting this failure message:
PHP Deprecated: Function create_function() is deprecated in /home/steindialog/public_html/wp-content/plugins/footable/includes/Foo_Plugin_Base.php on line 657
I hope you will be able to help me to solve this.
Best regards, Alex
]]>create_function is deprecated in PHP 7.2
thus, on line 656
$section_callback = create_function( '',
'echo "' . $desc . '";' );
should be replaced with:
$section_callback = function() {
echo $desc;
};
hope this helps someone else that wants to squash their PHP warnings
]]>Dear support team,
I am using your plugin for a while and just added to my new site. The plugin works within the FooTable settings with the breakpoints on mobile as well on tablet and Desktop. But while testing then the same on page the breakpoints with “+” symbol is missing and seems not not work.
Used table settings:
<table class="footable" data-sort="false" data-filter="false">
<tbody>
<tr>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
</tr>
</tbody>
Screenshot: https://www.screencast.com/t/OuqqpunZc
I’ve de-activated all other plugins without success for solving. I’m looking forward to your help.
Best, Alex
]]>Hi,
Just wanted to let you know that your plugin is generating deprecation warnings in the php log for the usage of the create_function function. I’m running in php 7.2.6 and there the function is deprecated.
The function is used in line 656 of /footable/includes/foo_plugin_base.php
Perhaps you can use an alternative?
Thanks,
Hans
It appears that Footable doesn’t work with the new SiteOrigin tabs feature; any plan to work on this?
The table appears, some of the CSS row highlighting works fine, but the options e.g. pagination, search, cannot be switched off and the screen responsive features do not work.
]]>Hi
Is this plugin still supported?
Any planned updates?
Kind Regards
Alex
Hello,
Is somebody feel the site is slowly with FooTable after updating wp version 4.73 ?
Hello, please help .I have a plugin for tablepress , but it is not adaptive . Your plugin helped me to adapt the table , but on mobile devices it shows the columns I need , tell me ,how can I make the columns ?
]]>Two years since last update; I’m sure many are using it wondering if it’s no longer be developed.
]]>Is this coming to wordpress soon?
Thanks
https://fooplugins.com/responsive-data-tables-footable-jquery/
I’m trying to have the thead be fixed on scroll, but it doesn’t seem to work with any code that I do. The closest I got was
table tbody, table thead { display: block; } table tbody { overflow:auto; height: 800px; }
But when I do that all of the rows are misaligned with the header. Any suggestions?
]]>Does this support images in cells? thx.
]]>Hey there! This looks like exactly what I’m looking for. The only problem that I’m having is that it is not working so well with my table that uses expanding/collapsing rows. Is there anyway to make it work? What it looks like is that it is overriding the style=”display:none” that ive applied to my child rows.
Im generating the table dynamically using PHP. Here is my code:
add_shortcode('user_database_mm','user_database_generate');
function user_database_generate(){
global $wpdb;
$user_ID = get_current_user_id();
$form_db_name = "form_contact_information";
$results = $wpdb->get_results("Select * FROM $form_db_name");
$first = TRUE;
echo '<div id="user_data_table_div">
<label for="user_data_search"><strong>Search for anything in a row</strong></label>
<input type="text" id="user_data_search" /> eg. A user ID, first name, last name etc...';
//<button id="btnSearch">Search</button>';
foreach ($results as $user_data){
if($first){
echo '<table id="user_data_table" style="width:100%">
<thead>
<tr>
<th title="User ID">User ID</th>
<th title="First Name">First Name</th>
<th title="Last Name">Last Name</th>
<th title="Contact Form">Contact Form</th>
</tr>
</thead>';
$first = FALSE;
}
echo '<tbody>
<tr class="parent" id="'.$user_data->user_ID.'" title="Click to expand/collapse" >
<td class="user_ID">'.$user_data->user_ID.'</td>
<td class="first_name">'.$user_data->first_name.'</td>
<td class="last_name">'.$user_data->last_name.'</td>
<td class="contact_form">YES</td>
</tr>
<tr class="child-'.$user_data->user_ID.'" style="display: none">
<td colspan="4">
<h3>Contact Information</h3>
<pre>
<b>Email:</b> '.$user_data->email.' <b>Phone: </b>'.$user_data->phone.'
<b>Address 1:</b> '.$user_data->address1.'
<b>Address 2:</b> '.$user_data->address2.'
<b>Country:</b> '.$user_data->country.'
<b>State/Province:</b> '.$user_data->state.'
<b>City:</b> '.$user_data->city.'
<b>Zip Code:</b> '.$user_data->zip_code.'
</pre>
</td>
<td style="display: none"></td>
<td style="display: none"></td>
<td style="display: none"></td>';
}
echo '</tbody></table></div>';
And my jquery script is:
jQuery(document).ready(function($){
$("tr.parent")
.attr("title","Click to expand/collapse")
.click(function(){
$(this).siblings('.child-'+this.id).slideToggle("fast");
});
});
Thanks!!
]]>Hi there,
I’ve found this plugin and it’s EXACTLY what I’m looking for. The problem I have that is stopping me use the plugin, however, is that my table that is being spit out doesn’t have thead and tbody tags.
Is anyone aware of any way that I can either inject my table with these tags, or make the plugin work without please?
Many thanks
]]>I’d like to change the pagination style to a load more button in the table foot which loads 5 or 10 more rows instead of having pages.
Like https://jsfiddle.net/EnY74/20/ but with the button in the footer is it possible as the page numbers are kind of outdated in the metro theme.
]]>How do i change the size and alignment of the filter text box? https://salecemetery.com.au/burials/
]]>Hi there,
Thanks for developing this amazing plugin!
I’m running a language training website and the alphabet table loads on several pages, I mean that the first page of the table ends with the tenth row so every letter after “J” is not immediately visible to my customers.
Is it possible to disable this feature and have the entire table displayed? Maybe by fixing the height of the columns?
I’ve uploaded a screenshot here.
Many thanks for the time and kind attention!
Warm regards,
Elena
Hello,
This is a terrific plugin, I just have one simple question that hopefully is a simple answer.
I am using tablepress as the plugin for my tables and placing .footable into the css. Now when doing this, the settings for footable carry over to each table. If I have a table that needs to display say 5 columns instead of 3 which is what I have in the footable settings, can I override that one specific table for mobile and desktop views?
Thank you for your help!
]]>Hi
Is this plugin still supported?
Are there plans to add any new features to it?
]]>I downloaded, installed, and activated FooTable today. I set it to apply automatically to tables created in TablePress. I created a four-column table in TablePress, but as I narrow the browser window (or use a phnoe), the four columns don’t change to stack vertically. Instead, at some narrow point, it starts cutting off the view of the right-most columns.
]]>Hi footable support team,
I am using your footable plugin on my site and the “premium” column of my price table should be highlighted according the code in use but does not work. (screenshot)
Here is the code to highlight which is in use:
<th data-class=”highlight” data-hide=”phone” style=”display: table-cell;”>Premium</th>
Please advice how to enable the highlight.
Thanks in forward, Alex
]]>Filtering & Sorting & Pagination not working
]]>I totally love Footable so this is really weird
if you check out this page https://gowebdev.net/sensory/publications/books/
You will see that some table cells have a bunch of white space. I can’t figure out why or how to remove the extra space.
Any ideas?
]]>Hello,
Before downloading the plugin, I need to ask if it gives you the ability to set the first column to be fixed, static.
I’m planning to create a table with minimum of 6 columns and that will most likely need to add pagination.
So what I need is to have the first column to be fixed/static and when you click next to only rotate the other columns and not the first one. (will be used to compare car engine specs)
]]>Please take a look at one of my tables here https://mobilereactor.co.uk/shop/mobile-phones/buy-the-samsung-galaxy-a3-white/ under the price plans tab.
As you can see I have set footable to organize by handset price on page load. But nothing it doesn’t organize the data correctly even when toggling the sort button at the top of the table.
Any ideas why?
]]>Hi, I have install this pluggin in order to create a table with 3 columns and a lot of rows. The thing is that the first column is shifted down and the others two columns are fine, but this one is not and I dont know where is the problem.
Also I dont know much about html codes. Can anyone help me? I can paste the code below if necessary.
Thanks you.
]]>Hi,
Nice plugin. Quick question it is possiable to have with a drop down box or a check box to filter the results instead of the search box?
Thanks
Ben
The search function works great when there is only one table on the page.
When there are more than one the search doesn’t do anything.
Hello,
I’ve seen that Footable allows to sort columns. Is it possible to sort rows?
Thanks!