That is a standard WordPress function, so if your system isn’t finding it there must be a plugin or something in your theme conflicting.
Can you try disabling other plugins temporarily to see if the issue goes away? Also switching to one of the basic “Twenty” themes temporarily would be a good test.
If the problem does go away, then you can re-enable those things one-at-a-time until the problem comes back to find the culprit.
Thread Starter
mike
(@michaelmoxwai)
I disabled all the plugins except woocommerce, offers for woocommerce, and iwp client and it still happened. Seems to be a conflict with iwp client and offers for woocommerce.
Adding this line to the file ‘class-offers-for-woocommerce-admin.php’ fixed the issue:
require_once(ABSPATH . ‘/wp-admin/includes/screen.php’);
Thanks.
Ok, thanks for the feedback. We’ll look into that and see if it’s something we need to add in our next update.
We took a look at this and noticed that the InfiniteWP plugin is not compatible with the latest version of WordPress (according to their plugin directory page.)
We’ll probably wait until they get updated before we spend time troubleshooting. The fact that they’re behind could be the issue.
We just tried this again on the latest version of all plugins and things seem to be working as expected.