Support

Home Forums Wait List Manager Add-on Wait Lists: blank page after requesting to be added to wait list

Wait Lists: blank page after requesting to be added to wait list

Posted: October 28, 2017 at 8:36 pm

Viewing 23 reply threads


natex3000

October 28, 2017 at 8:36 pm

Hi, I realize the Wait Lists extension is in pre-release, but wanted to see if there’s a fix for this because it’s so close to being perfect. When a user signs up for a wait list, the page comes up blank. However if you refresh the page in the browser several times, the homepage comes up correctly with the message “You have been successfully added to the Wait List for…”

On the backend, the user is signed up on the wait list–that works perfectly.

Thanks in advance!


Tony

  • Support Staff

October 30, 2017 at 3:02 am

Hi there,

Which version number of Event Espresso core are you running?

Do you have access to the servers error logs? A blank page would normally mean an error is being thrown on the page, as it works after you refresh the page a few times, I’m guessing your site is running out of memory then when a little more memory free’s up on fresh it works.

So if you check the error logs do you see any error being thrown around the same time that you are testing the waitlist function?


natex3000

October 30, 2017 at 7:04 am

1. Version 4.9.49.p
2. Error log shows:
[30-Oct-2017 06:54:30 America/Denver] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. in Unknown on line 0
[30-Oct-2017 12:54:31 UTC] The The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.2.1. Replace with woocommerce_add_to_cart_fragments.


Josh

  • Support Staff

October 30, 2017 at 9:38 am

That’s not actually an error, it’s a warning and warnings do not cause a blank page.

Can you follow this guide to activate WP_DEBUG mode? You may be able to capture the error with WP_DEBUG_LOG:

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


natex3000

October 30, 2017 at 11:39 am

Thanks. I followed the instructions you linked. However the error log file is not appearing. Any suggestions?


Josh

  • Support Staff

October 30, 2017 at 11:49 am

You can create a blank file in the wp-content directory, name it debug.log.


natex3000

October 30, 2017 at 1:18 pm

I created the log file, but nothing is being added to it…


Josh

  • Support Staff

October 30, 2017 at 1:53 pm

Does anything get printed to the screen if you set WP_DEBUG_DISPLAY to true?


natex3000

October 30, 2017 at 1:58 pm

No, nothing yet. (Thanks do much by the way for helping with this!)


Josh

  • Support Staff

October 30, 2017 at 2:04 pm

You could try bumping the memory limit by adding this right after where you set the WP_DEBUG constants:

define( 'WP_MEMORY_LIMIT', '256M' );


natex3000

October 30, 2017 at 7:01 pm

Here’s what I now get in the debug log:
[31-Oct-2017 00:54:07 UTC] The The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.2.1. Replace with woocommerce_add_to_cart_fragments.


Tony

  • Support Staff

October 31, 2017 at 3:16 am

That’s a notice from WooCommere and won’t be causing the problem.

Is that the only entry in the log?


natex3000

October 31, 2017 at 6:20 am

The only entries I see in the log are:
[31-Oct-2017 00:48:03 UTC] PHP Warning: chdir(): Permission denied (errno 13) in /wp-content/plugins/paid-memberships-pro/includes/reports.php on line 12
[31-Oct-2017 00:54:07 UTC] The The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.2.1. Replace with woocommerce_add_to_cart_fragments.
[31-Oct-2017 01:00:01 UTC] PHP Notice: Undefined property: stdClass::$plugin in /wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1809

  • This reply was modified 7 years ago by Tony. Reason: Remove server path


Tony

  • Support Staff

October 31, 2017 at 6:27 am

Have you tested signing up to a waitlist since enabling the debug log option?

You need to trigger the error now that error logging is enabled.

Normally a whitescreen means a fatal error is being thrown, the above are notices, they don’t stop the page from loading at all so are unlikely to be related to the problem.


natex3000

October 31, 2017 at 6:32 am

Yes, for example I tried signing up for a wait list a moment ago and this appears in the debug.log:
[31-Oct-2017 12:30:49 UTC] The The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.2.1. Replace with woocommerce_add_to_cart_fragments.


Josh

  • Support Staff

October 31, 2017 at 7:55 am

Have you tried bumping the memory limit? You could also try temporarily deactivating the plugin or theme to rule out whatever is throwing the notice, it’s probably not related to anything Event Espresso, but you’ll stop seeing that notice while you troubleshoot.


natex3000

October 31, 2017 at 2:17 pm

Yes, bumped up memory. Also have theme and all plugins disabled, except Learndash CMS and EventEspresso. Still seeing error though.


Josh

  • Support Staff

October 31, 2017 at 3:01 pm

This may be a server configuration issue where the referrer URL isn’t correct. Is there a page on your site where we can check the wait list signup form?


natex3000

October 31, 2017 at 9:45 pm

May I send via PM?


Tony

  • Support Staff

November 1, 2017 at 4:17 am

Sure, you can send detail using this form:

https://eventespresso.com/send-login-details/

If we don’t need login details to view the site just add dummy details so the form can send.


natex3000

November 1, 2017 at 6:13 am

Done.


Josh

  • Support Staff

November 1, 2017 at 2:06 pm

Hi Nate,

Can you remove the Version 1.0.0.dev.069 from your site, then go to your account page and download Version 1.0.0.beta.070, then install that version?


natex3000

November 1, 2017 at 4:16 pm

That seems to have fixed it! Thanks!


Josh

  • Support Staff

November 2, 2017 at 9:03 am

Thanks for testing and the report!

Viewing 23 reply threads

The support post ‘Wait Lists: blank page after requesting to be added to wait list’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso