Help Site Not Appearing after latest upgrade

Permalink
Need a developer to help ASAP. Please DM a quote. After the recent upgrade my site says.

Fatal error: Call to undefined method User::getUserAccessEntityObjects() in /home/mudkeorg/public_html/updates/concrete5.6.0.1/concrete/core/models/permission/access/model.php on line 79

 
jmonroe replied on at Permalink Best Answer Reply
jmonroe
try this to revert back to the previous version

Comment out this line
<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.0.2');?>
in /config/site.php reverts to the previous version.
ccowper replied on at Permalink Reply
I do not know how to do this. I will paypal you some money if you could do this. Please let me know what info you need if you can do this.

Thanks
jmonroe replied on at Permalink Reply
jmonroe
PM me your FTP details, domain name, and user name and password and I can take a quick look for you.
jmonroe replied on at Permalink Reply
jmonroe
Your site is back working live.
frednchad replied on at Permalink Reply
I'm having the same issue. :-/
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
You can PM me the FTP & url. I can have a look into it.

Rony
jmonroe replied on at Permalink Reply
jmonroe
If you wish, I can take a look at it for you unless it is resolved already. Just send me a private message.

Thanks
jasonok6 replied on at Permalink Reply
Hey jmonroe, any chance you could elaborate on what you are doing to fix this?
jmonroe replied on at Permalink Reply
jmonroe
Read the message below on how to do it.

Comment out this line
<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.0.2');?>
in /config/site.php reverts to the previous version.

This is pulling the info out that says the core was updated. You have to comment out the line in the config/site.php file for this to work. Save your changes and you should be good to go.
jasonok6 replied on at Permalink Reply
I see, you are just reverting back to the old version of C5. I was hoping you had a fix for it. My bad.
dosde replied on at Permalink Reply
I had the same problem and it was because I created a modified
Version of models/user.php

In older Versions of 5.6.0.2, the function getUserAccessEntityObjects() did not exist.

If you upgraded, then that is the Problem.

Copy the File concrete/core/models/user.php of the 5.6.0.2 Version to models/user.php and put your changes made from your custom models/user.php back into the new user.php.

That fixed my problems.
jshannon replied on at Permalink Reply
jshannon
Actually... that's the main benefit of the new structure for 5.6. __IF__ this is your problem, you should copy *concrete/models/user.php* to *models/user.php* then only add your changes.

When you open the file, you'll notice that it's blank. That's because it extends the file in core. So, you only need to add your new methods or, override a method or two. The benefit is that if something new gets added, you don't need to make any changes.

James