I have wp 4.9.2, wc 3.2.6, and php 7.1 and I am not getting the error. Error log info would be very helpful.
You can capture the debug info in the following way:
In your wp-config.php file:
Add the followings:
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );
All the errors will be saved in debug.log log file in the /wp-content/ directory.
If you could share the log info that would be helpful.
[24-Jan-2018 20:10:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php:566
Stack trace:
#0 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(69): GPLS_WOO_RFQ->gpls_rfq_setup_constants()
#1 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(60): GPLS_WOO_RFQ->__construct()
#2 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(48): GPLS_WOO_RFQ::instance()
#3 /home/asiauto77/public_html/wp-settings.php(305): include_once(‘/home/asiauto77…’)
#4 /home/asiauto77/public_html/wp-config.php(103): require_once(‘/home/asiauto77…’)
#5 /home/asiauto77/public_html/wp-load.php(37): require_once(‘/home/asiauto77…’)
#6 /home/asiauto77/public_html/wp-blog-header.php(13): require_once(‘/home/asiauto77…’)
#7 /home/asiauto77/public_html/index.php(17): require(‘/home/asiauto77…’)
#8 in /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php on line 566
Please try 1.8.45 and let me know if it fixes the issue.
Thank you. After activating 1.8.45 I still had access to the WP dashboard (whereas I had a blank screen before) and I could navigate around in the dashboard but when trying to view the website I still get a blank screen whether logged in or not.
[24-Jan-2018 22:32:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/includes/classes/prices/gpls_woo_rfq_prices.php:168
Stack trace:
#0 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/includes/classes/prices/gpls_woo_rfq_prices.php(70): gpls_woo_rfq_prices->price_handling_function_for_rfq_only()
#1 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(409): gpls_woo_rfq_prices->__construct()
#2 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(70): GPLS_WOO_RFQ->gpls_rfq_setup_includes()
#3 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(60): GPLS_WOO_RFQ->__construct()
#4 /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-for-woocommerce.php(48): GPLS_WOO_RFQ::instance()
#5 /home/asiauto77/public_html/wp-settings.php(305): include_once(‘/home/asi in /home/asiauto77/public_html/wp-content/plugins/woo-rfq-for-woocommerce/includes/classes/prices/gpls_woo_rfq_prices.php on line 168
Pesky problem! I finally got the problem too.
Somehow 4.9.2 !?
OK. I think 1.8.46 should fix the issue. Please let me know.