Support

Home Forums Event Espresso Premium People Addon – Individual Instructors pages aren't loading

People Addon – Individual Instructors pages aren't loading

Posted: February 16, 2016 at 10:16 am


Daniel

February 16, 2016 at 10:16 am

Hi,

Can you please look at our site https://actionpotentialseminars.com/people/ We can’t get the individual people pages to load they just spin. We either get a white screen or a server error.

Godaddy WordPress Managed hosting support suggests that we deactivate Event Espresso or contact WordPress…. so not helpful!

Thanks for looking into this for us.


Josh

  • Support Staff

February 16, 2016 at 10:36 am

Hi there,

This might be a situation where the server is running low on memory. Can you edit the wp-config.php file and enable WP_DEBUG so it prints the actual error to the screen?

You might also try bumping the amount of memory available to WordPress while you’re there. Here’s a guide that has the code edits:

https://eventespresso.com/wiki/troubleshooting-event-espresso/#wsod


Daniel

February 16, 2016 at 1:32 pm

Thanks Josh,

I had already bumped up the memory to 128M but nothing helped.

Here are the errors I see

Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in …/wp-includes/functions.php on line 3792

Warning: Cannot modify header information – headers already sent by (output started at…./wp-includes/functions.php:3792) in …./wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 112

Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at …./wp-includes/functions.php:3792) in …./wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 398

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in …./wp-content/plugins/wp-spamshield/wp-spamshield.php on line 235


Lorenzo Orlando Caum

  • Support Staff

February 16, 2016 at 1:40 pm

Hi Susan,

There is a memory issue related to WP Spam shield so your site may be running out of memory.

Do you see the same issue if you temporarily deactivate all plugins and reactivate Event Espresso 4 and the People add-on?

If that fixes the issue, then you may want to increase the memory further that is available to PHP through your wp-config.php file and then reactivate your remaining plugins.


Lorenzo


Daniel

February 16, 2016 at 2:06 pm

I deactivated wp-spamsheild and any other plugins that I can afford to remove but the issue persists. It’s a live site so I don’t want to deactivate plugins that we really need.

can I set this any higher?
define(‘WP_MEMORY_LIMIT’, ‘128M’);

No surprise but Godaddy is no help


Josh

  • Support Staff

February 16, 2016 at 2:59 pm

You’re running out at 134MB, so you can try going higher with the WP_MEMORY_LIMIT, but ultimately it’s Godaddy’s call on whether they’ll allow setting the memory limit higher.

In the past what’s often helped other customers who have run into issues with Godaddy hosting is they asked to escalate to the next level of support.


Daniel

February 16, 2016 at 3:04 pm

It is fixed. The Godaddy Pro Chat were actually quite helpful

We increased memory but it didn’t work. Then I deleted the people addon and reinstalled it an all is fixed.

Thanks


Daniel

February 16, 2016 at 3:09 pm

Actually,

It works with an old version of the people-addon but if I update it to the latest version it breaks again.


Josh

  • Support Staff

February 16, 2016 at 3:20 pm

Did you still get the out of memory error with the newer version activated? The newer version has a few extra checks it runs to make sure that the Individual Instructors page list events of any status. So before it would not display there if the event was sold out. With that additional check, sold out events display, but there is a tad more processing that happens.


Daniel

February 16, 2016 at 3:37 pm

The memory has been set to 256 but with the newer version of the people addon the page just spins and spins


Josh

  • Support Staff

February 16, 2016 at 3:40 pm

You could try flushing the rewrite rules by opening up WP > Settings > Permalinks.

Do you log any more of these when you try to load those pages?

Fatal error: Allowed memory size of x bytes exhausted


Daniel

February 16, 2016 at 6:50 pm

Is there anyway to make debug messages only show for logged in admins. I don’t like to turn debug on for site visitors to see.


Josh

  • Support Staff

February 16, 2016 at 8:10 pm

Hi Susan,

Yes, you change the constant in wp-config.php to read as this:

define( 'WP_DEBUG', true ); // Or false
if ( WP_DEBUG ) {
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
}

The errors will not display on the site, and instead log to a debug.log file in the wp-content folder on your server.

The support post ‘People Addon – Individual Instructors pages aren't loading’ 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