Upgrade - PHP Fatal error: Undefined class constant 'TYPE_GUEST'
 Riasvdv                
                
                     New
Riasvdv                
                
                     New                
            Hi, getting this error when trying to run /utility/update
PHP Fatal error:  Undefined class constant 'TYPE_GUEST' in /public_html/forum/applications/dashboard/settings/structure.php on line 36
Any idea what causes this?
            Tagged:
            
        
0          
             
         
            
Comments
what version of php are you using?
you might also reload files.
the constant should be set in rolemodel.php
but perhaps there is a problem with RoleModel::TYPE_GUEST and your version of php.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Using PHP 5.4.16, I'm trying a fresh install now to see if it fixes things
Worked with a completely new install and upgrade to php 5.6
class constants I believe were introduced in php 5.5.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.