WCFM - WooCommerce Frontend Manager - Ultimate

WCFM - WooCommerce Frontend Manager - Ultimate 6.7.5

No permission to download

defrancium

New member
Jul 17, 2022
0
0
0
2 addon plugins (wcfm delivery, wcfm group and staff) are not working well with this version they keep throwing in "DataTables warning: table id=wcfm-shop-staffs - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1"
 

MrNoLimits

Well-known member
Jul 31, 2019
497
265
63
NYC
2 addon plugins (wcfm delivery, wcfm group and staff) are not working well with this version they keep throwing in "DataTables warning: table id=wcfm-shop-staffs - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1"
Okay everyone, so luckly I had a backup of my db, so I just rolled back all the wcfm tables, woocommerce remains the same so that was not the issue. I also rolled back all the wcfm plugins to the previous versions.
Now everything works correctly.

Hope this helps somebody else in need.
Thanks God I was able to figure it out.
 

Tito777

New member
May 18, 2022
2
-1
1

After updating to latest version getting this error while going to managers:​

DataTables warning: table id=wcfm-shop-staffs - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

 

Tito777

New member
May 18, 2022
2
-1
1
So i found solution for both Analytics and Delivery thanks to other guy where post for ultimate.....

Instructions for future!

For Analytics


Code:
You need to edit the file wc-frontend-manager-analytics/wc_frontend_manager_analytics.php


Go to line 18 (approximately) and find the code:


PHP:
if(!defined('ABSPATH')) exit; // Exit if accessed directly

Directly below that, line 19 (approximately) add the following:


PHP:
update_option ('wcfma_license_activated', 'Activated');

It will now look like:


PHP:
if(!defined('ABSPATH')) exit; // Exit if accessed directly
update_option ('wcfma_license_activated', 'Activated');

For Delivery

Code:
You need to edit the file wc-frontend-manager-delivery/wc-frontend-manager-delivery.php


Go to line 18 (approximately) and find the code:


PHP:
if(!defined('ABSPATH')) exit; // Exit if accessed directly

Directly below that, line 19 (approximately) add the following:


PHP:
update_option ('wcfmd_license_activated', 'Activated');

It will now look like:


PHP:
if(!defined('ABSPATH')) exit; // Exit if accessed directly
update_option ('wcfmd_license_activated', 'Activated');
that's great...worked properly
 
  • Love
Reactions: MrNoLimits

Tito777

New member
May 18, 2022
2
-1
1
This is causing a new error now after updating to the latest plugins
new error.png
This error is due to version conflict not because of adding line php file. Everyone here getting that data table error and no one is able to fix the issue yet.
 
  • Sad
Reactions: MrNoLimits

MrNoLimits

Well-known member
Jul 31, 2019
497
265
63
NYC
This error is due to version conflict not because of adding line php file. Everyone here getting that data table error and no one is able to fix the issue yet.
Oh i thought the quickfix was for that. I just looked up the class ID of the error recursively on all files with Notepad++ and commented out the Echo that was echoing the error haha. I guess this was simpler.

Thanks for the contribution. Hopefully somebody gets their hands on the new versions soon. :)
 

Tito777

New member
May 18, 2022
2
-1
1
Kindly make available groups & staff v3.4.8
 

Attachments

  • Screenshot_2021-12-29-07-55-58-958_com.android.chrome.jpg
    Screenshot_2021-12-29-07-55-58-958_com.android.chrome.jpg
    333.4 KB · Views: 11
  • Like
Reactions: MrNoLimits

Tito777

New member
May 18, 2022
2
-1
1
Someone selling the latest ver. on their website
 

Attachments

  • Screenshot_2021-12-29-08-02-01-065_com.android.chrome.jpg
    Screenshot_2021-12-29-08-02-01-065_com.android.chrome.jpg
    353.5 KB · Views: 19

elofran

Well-known member
Dec 20, 2020
349
249
63
Murcia
murcia.cat
the error is from the Group && Staff plugin which has a different database format, in fact if you look at the database you will see that it does not create any for you, when it should create $ wcfm_shop_staffs_table = '';
therefore in the front when it tries to make the call to the data it returns the error that that id has no data.

Code:
DataTables warning: table id=wcfm-shop-staffs - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

in my case, it is not important since I do not need to add more stafs or groups
 
  • Love
Reactions: MrNoLimits

MrNoLimits

Well-known member
Jul 31, 2019
497
265
63
NYC
the error is from the Group && Staff plugin which has a different database format, in fact if you look at the database you will see that it does not create any for you, when it should create $ wcfm_shop_staffs_table = '';
therefore in the front when it tries to make the call to the data it returns the error that that id has no data.

Code:
DataTables warning: table id=wcfm-shop-staffs - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

in my case, it is not important since I do not need to add more stafs or groups
But I was getting the error on the orders page as well when I tried and updated all available plugins. So if we deactivated that plugin we could, in theory, update everything else?

Also, where is that line of code, please? I would like to try and set up the table manually because I do need the plugin.

Thank you and happy new year!
 

elofran

Well-known member
Dec 20, 2020
349
249
63
Murcia
murcia.cat
But I was getting the error on the orders page as well when I tried and updated all available plugins. So if we deactivated that plugin we could, in theory, update everything else?

Also, where is that line of code, please? I would like to try and set up the table manually because I do need the plugin.

Thank you and happy new year!
Hi,

My advice is that you do a new installation of the plugins, delete them, clean tables and general cache. And you install them one by one, first the WooCommerce Frontend Manager, logical, and then go adding one by one and testing before installing the next one, so in case of error you will have more clear what it is. The table is created by the script: wcfmgs-script-staffs.js
path: \ wc-frontend-manager-groups-staffs \ assets \ js
and the error is given by the view: wcfmgs-view-staffs.php, since it cannot read that id, which is in: \ plugins \ wc-frontend-manager-groups-staffs \ views
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu