Skip Navigation

[Resolved] Call to undefined function WP_Installer()

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 10 replies, has 3 voices.

Last updated by Eric 7 years ago.

Assisted by: Luo Yang.

Author
Posts
#577298

The latest version 2.2.16 conflict with the Woocommerce POS plugin - hidden link

see error.log

[09-Oct-2017 12:32:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WP_Installer() in /home/ikedaspa/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/controller/admin/notices.php:94
Stack trace:
#0 /home/ikedaspa/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/controller/admin/notices.php(72): Toolset_Controller_Admin_Notices->screen_any()
#1 /home/ikedaspa/public_html/wp-includes/class-wp-hook.php(298): Toolset_Controller_Admin_Notices->init_screens(Object(WP_Screen))
#2 /home/ikedaspa/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
#3 /home/ikedaspa/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /home/ikedaspa/public_html/wp-admin/includes/class-wp-screen.php(396): do_action('current_screen', Object(WP_Screen))
#5 /home/ikedaspa/public_html/wp-admin/includes/screen.php(232): WP_Screen->set_current_screen()
#6 /home/ikedaspa/public_html/wp-content/plugins/woocommerce-point-of-sale/includes/views/header.php(146): set_current_screen(' in /home/ikedaspa/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/controller/admin/notices.php on line 94

Downgrade to version 2.2.15.1 works again. Please kindly fix.

#577313

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I see this WC POS plugin is pro plugin.

First of all - Could you please try to follow the following steps in order to minimize the cause of the issue:
*** Please make a FULL BACKUP of your database and website.***
1)
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

Try to temporarily disable all plugins except Toolset Types, WooCommerce, and WooCommerce Point of Sale. Then activate a default theme like Twenty Seventeen. If the problem is resolved, activate your theme and other plugins one by one until the conflict is revealed.

2)
Update Toolset plugins to it's latest official release version. Please try to update it from plugins page from wp-admin. You can download latest plugins from:
=> https://toolset.com/account/downloads/

3)
If #1 and #2 does not help:
I will need to copy of your site to debug this issue further:
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#577581

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello Eric,
Thank you for sharing the pro plugin. I installed and activated latest Types + WC POS plugin but I do not able to replicate the issue as I do not see the fatal error you mentioned in your first post.

Is there any step I'm missing or could you please guide me where I can see such error?

Also, would you mind to delete current Types plugin and re-install Types plugin manually from plugins page?

#578285

Please go to Point of Sales -> Registers -> Enter (under Access)

You may need to setup WC POS and set your user role as Cashier before you can access POS

#578491

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thanks for the information but I could not able to setup outlet somehow.

Also, there might be a chance there there is really specific site settings on your server. Could you please share duplicator package of your multisite or clone your database script and zip your whole multisite folter and share with us.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#579933

I cannot duplicate the multisite unless I pay for duplicator pro.

Which folder should I zip up? wp-content or the whole public_html?

#580119

Dear Eric,

We just need to the minimal installation, you can create a independent wordpress installation, with only Types plugin + Woocommerce POS plugin + Woocommerce plugin, and duplicate the same problem in it, then make the duplicator package. and put it into your own website, post the downloadable URL here.

#580957

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello Eric,

Could you please try to follow the comments shared by Luo with the following link and give us your feedback if you are able to replicate the issue?
=> https://toolset.com/forums/topic/call-to-undefined-function-wp_installer/#post-580119

I have set the next reply to private which means only you and I have access to it.

#584672
pos.JPG

Dear Eric,

I just got this thread, and I tried the duplicator package you provided above, with below steps:
1. Go to Point of Sale -> Registers
2. Click on the 'Enter' button
3. You will see a gray screen
There isn't gray screenshot of what I see: pos.JPG
4. Look at the error_log file
Where can I see the error_log file?
There isn't error_log file in the site folder, so I checked it in my local server error logs file, there isn't any logs as you mentioned above.

So it might be a server problem, I suggest you get the completed PHP debug logs, for example:
PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
https://toolset.com/documentation/user-guides/debugging-types-and-views/

#584712

We have got some similar report with other performing background synchronizations plugins, which is fixed in the latest version of Type plugin, please update to Types plugin version 2.2.17 and test again, you can download it here:
https://toolset.com/account/downloads/

And feedback if it is fixed or not. thanks

#584923

Yes it has been fixed in v2.2.17