Title: PHP error &#8211; InfiniteWP
Last modified: October 11, 2016

---

# PHP error – InfiniteWP

 *  Resolved [mike](https://wordpress.org/support/users/michaelmoxwai/)
 * (@michaelmoxwai)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-error-infinitewp/)
 * Hey,
 * I get this error when trying to access the site via IWP.
 * PHP Fatal error occurred: Call to undefined function get_current_screen() in /
   home/xxxxxxxx/public_html/wp-content/plugins/offers-for-woocommerce/admin/class-
   offers-for-woocommerce-admin.php on line 683.
 * Any ideas on how I to fix this?
 * Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-error-infinitewp/#post-8274281)
 * 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](https://wordpress.org/support/users/michaelmoxwai/)
 * (@michaelmoxwai)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-error-infinitewp/#post-8285449)
 * 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.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-error-infinitewp/#post-8285572)
 * Ok, thanks for the feedback. We’ll look into that and see if it’s something we
   need to add in our next update.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-error-infinitewp/#post-8338465)
 * 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.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php-error-infinitewp/#post-8640939)
 * We just tried this again on the latest version of all plugins and things seem
   to be working as expected.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP error – InfiniteWP’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/offers-for-woocommerce_edefee.svg)
 * [Offers for WooCommerce](https://wordpress.org/plugins/offers-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/offers-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/offers-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/offers-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/offers-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/offers-for-woocommerce/reviews/)

## Tags

 * [infinitewp](https://wordpress.org/support/topic-tag/infinitewp/)
 * [iwp](https://wordpress.org/support/topic-tag/iwp/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 5 replies
 * 2 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/php-error-infinitewp/#post-8640939)
 * Status: resolved