Title: PHP Fatal Error login
Last modified: August 19, 2020

---

# PHP Fatal Error login

 *  Resolved [devalexdev](https://wordpress.org/support/users/devalexdev/)
 * (@devalexdev)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/)
 * I’m getting errors where subscribers are unable to login, they get the PHP fatal
   error message below, admins seem to work fine though
 * Woocommerce: 4.4.0
    ACF Pro: 5.9.0 Php: 7.2
 *     ```
       PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_loop_prop() in /mysite/public/wp-content/plugins/woocommerce/includes/class-wc-query.php:376
   
       Stack trace:
   
       #0 /mysite/public/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages()
   
       #1 /mysite/public/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array)
   
       #2 /mysite/public/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array)
   
       #3 /mysite/public/wp-includes/class-wp-query.php(3190): apply_filters_ref_array('the_posts', Array)
   
       #4 /mysite/public/wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
   
       #5 /mysite/public/wp-includes/post.php(2053): WP_Query->query(Array)
   
       #6 /mysite/public/wp-content/plugins/advanced-custom-fields-pro in /mysite/public/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 376
       ```
   

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

 *  [ajitsingh5588](https://wordpress.org/support/users/ajitsingh5588/)
 * (@ajitsingh5588)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/#post-13278570)
 * Latest Update issue.
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/#post-13279553)
 * Hi there,
 * Looking at the stace trace in that error report, it seems to be a result of using
   ACF alongside WooCommerce. As for a fix, I see that our developers are already
   working on the issue as there’s currently an open bug report at [https://github.com/woocommerce/woocommerce/issues/27394](https://github.com/woocommerce/woocommerce/issues/27394)
 *  [alayor](https://wordpress.org/support/users/alayor/)
 * (@alayor)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/#post-13282713)
 * We’re still having this problem even though the issue is now closed and the Pull
   Request merged.
    We can’t access the admin portal. Do we need to follow any steps
   to apply this fix?
    -  This reply was modified 5 years, 8 months ago by [alayor](https://wordpress.org/support/users/alayor/).
 *  [Mike Straw](https://wordpress.org/support/users/mikestraw/)
 * (@mikestraw)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/#post-13324716)
 * Hi [@alayor](https://wordpress.org/support/users/alayor/) ,
 * Are you still having this issue? It looks like you may have caught it between
   the time the fix was merged but before it was deployed to WordPress.org.
 * WooCommerce 4.4.1 should fix the issue. If not, let us know!
 *  [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/#post-13367931)
 * Hi [@alayor](https://wordpress.org/support/users/alayor/) [@ajitsingh5588](https://wordpress.org/support/users/ajitsingh5588/)
   [@devalexdev](https://wordpress.org/support/users/devalexdev/)
 * As we’ve not heard back from anyone on this thread I’m going to mark it as Resolved.
 * Please do open a new one if you’re still running into problems.
 * Thanks,

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

The topic ‘PHP Fatal Error login’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 6 participants
 * Last reply from: [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-login/#post-13367931)
 * Status: resolved