Support

Home Forums Event Espresso Premium Contining PHP Errors

Contining PHP Errors

Posted: November 27, 2018 at 9:25 am


cbugni

November 27, 2018 at 9:25 am

We thought our previous issue was resolved (https://eventespresso.com/topic/urgent-ee-4-9-71p-is-producing-the-following-php-errors/#post-282644), but we’re continuing to see 503 browser errors when creating or editing events.

Specifically, we’re seeing the following PHP errors in our logs:

PHP Warning: Attempt to assign property of non-object in /hrs.boisestate.edu/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php on line 1650
$state->lastCheck = time();

PHP Warning: Attempt to assign property of non-object in /hrs.boisestate.edu/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php on line 1651
$state->checkedVersion = $this->_installed_version;

PHP Warning: Attempt to assign property of non-object in /hrs.boisestate.edu/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php on line 1655
$state->update = $this->requestUpdate();

PHP Warning: Invalid argument supplied for foreach() in /hrs.boisestate.edu/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php on line 1166
foreach ($notices as $type => $notes) {

Please let us know if you have any guidance for us. Thanks.


Josh

  • Support Staff

November 27, 2018 at 9:55 am

Hi,

PHP Warnings, related to checking a support license key, would not normally cause a 503 error. May I ask are those warnings logged at the same time you experience a 503 error?


cbugni

November 27, 2018 at 10:24 am

Yes, the log errors correspond with the time of 503 errors experienced when managing event items.


cbugni

November 27, 2018 at 10:51 am

The only actual “error” we’re seeing in the logs (as opposed to warnings) is Line 1114:

foreach ((array) $notices as $notice_id => $notice) {
                       if (! empty($notice)) {
                           $existing_notices[$notice_type][$notice_id]['msg'] = $notice;
                           $existing_notices[$notice_type][$notice_id]['active'] = 1;
                       }
                   }


Josh

  • Support Staff

November 27, 2018 at 11:23 am

So there are no Warnings like the above when there are successful requests (no 503 error)?

The reason I ask is because you could temporarily disable pue-client.php, but those 503 errors could persist due to an unrelated condition on the server.

Here’s how to temporarily deactivate sue-client.php:

1) Add a site specific plugin to your site by following this guide:
http://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
2) Add this code to the plugin:

add_filter(
  'FHEE__EE_System__brew_espresso__load_pue',
  '__return_false'
);

3) Activate the plugin


cbugni

November 30, 2018 at 3:18 pm

Thanks. Reinstalling and creating as a site specific plugin resolved our issue.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  cbugni 1 week, 5 days ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!