Support

Home Forums Attendee Mover Add-on Fatal error: Cannot access protected property

Fatal error: Cannot access protected property

Posted: August 17, 2016 at 8:53 pm

Viewing 8 reply threads


ndaniel

August 17, 2016 at 8:53 pm

Hi,
In trying the new tool, I’m getting this error message after clicking the button on an event:
Fatal error: Cannot access protected property EED_Attendee_Mover::$admin_page in /home/content/49/11691649/html/wp-content/plugins/eea-attendee-mover-pr/EED_Attendee_Mover.module.php on line 223


Tony

  • Support Staff

August 18, 2016 at 4:12 am

Hi there,

Can you let me know which version of PHP you are running please? (You can find that within Event Espresso -> Maintenance -> System info)

Is this a single site or multi site install?


ndaniel

August 18, 2016 at 6:58 am

Hi Tony,
This is a single site and is running php 5.3.24.


Tony

  • Support Staff

August 18, 2016 at 9:01 am

Strange, I’ve not been able to reproduce this but I have created a ticket for our developers to investigate.

Are you using the latest version of WordPress?

Just to confirm, you see this error when you click the mover icon? – http://take.ms/mZPje


Josh

  • Support Staff

August 18, 2016 at 9:14 am

Hi there,

Is your site hosted on Godaddy? May I ask which version number of WordPress is installed?


Tony

  • Support Staff

August 19, 2016 at 4:16 am

Turns out this is due to the version of PHP running on the server.

I have created a ticket for our developers to investigate this, however I would also recommend contacting your host and request they update the version of PHP used on the server. PHP 5.3.X has been end of life for over 2 years now and will not receive any further updates.

I have added a note to update this thread with any feedback the developers add.


ndaniel

August 21, 2016 at 12:18 pm

Thank you- it is hosted on godaddy using the latest WordPress version. I will pursue the PHP version update. Thanks for the responses.


ndaniel

August 21, 2016 at 12:51 pm

The update to the latest PHP has helped resolve the majority of the issues, though I then encountered the class list not populating as reported by another user. I disabled that conflicting plug-in (Toolset Types) and the list populated. I still get the protected property error again about 1/2 the time. This happens on the first load of the page. If I go “back” to the registrant page, reload the page, and try it seems to work, as if the needed attributes are not being passed from the registrant page to the mover tool consistently.


Tony

  • Support Staff

August 22, 2016 at 3:47 am

Thank you- it is hosted on godaddy using the latest WordPress version.

Which hosting package are you using with GoDaddy?

I still get the protected property error again about 1/2 the time.

The exact same error?

This happens on the first load of the page. If I go “back” to the registrant page, reload the page, and try it seems to work, as if the needed attributes are not being passed from the registrant page to the mover tool consistently.

If it’s the exact same error then it sounds like your still loading PHP5.3 on some requests but not others, that would be really strange but its possible.

The error is not something missing within the request, its to do with how PHP5.3 handles objects. If you install WPDebug Bar on the site, you’ll find a ‘Debug’ section added to your admin bar – http://take.ms/a6RUT

Navigate around your site a little, view registrations etc and check within that section what shows for the PHP Version.

Viewing 8 reply threads

The support post ‘Fatal error: Cannot access protected property’ 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