Home Forums WoodMart support forum Ultimate Member Conflict

Ultimate Member Conflict

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #33499

    PoliSafety IT
    Participant

    Hello,

    I am using Ultimate Member to manage user and member registration in our website and when trying to activate the latest version I get a ‘conflict’ error.

    The plugin is not activated due to a critical error: “Fatal error: Cannot declare class WOODMART_Options, because the name is already in use”

    Is there a way to resolve this?

    Best regards.

    #33510

    Artem Temos
    Keymaster

    Hello,

    Could you please provide us your admin access so we can try to activate it? And where we can download this plugin so we can test it on our side?

    Thank you

    #33512

    PoliSafety IT
    Participant

    Yes of course.

    Ultimate Member Version 2.0 Documentation:
    http://docs.ultimatemember.com/article/262-manually-updating-to-2-0

    Ultimate Member 2.0 Download link:
    https://ultimatemember.com/wp-content/uploads/2017/11/ultimate-member.zip

    #33519

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to do this

        function woodmart_autoload($className) {
            $className = ltrim($className, '\\');
            $fileName  = '';
            $namespace = '';
            if ($lastNsPos = strripos($className, '\\')) {
                $namespace = substr($className, 0, $lastNsPos);
                $className = substr($className, $lastNsPos + 1);
                $fileName  = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
            }
            $className = str_replace('WOODMART_', '', $className);
            $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
            $fileName = WOODMART_CLASSES . DIRECTORY_SEPARATOR . $fileName;
            if( file_exists( $fileName )) {
                require_once $fileName;
            }
        }
    
        spl_autoload_register('woodmart_autoload');
    #33521

    PoliSafety IT
    Participant

    The code snippet worked in order to activate the plugin but I then get a 500 error on the admin panel.

    #33522

    Artem Temos
    Keymaster

    But we don’t see the child theme active in Appearance -> Themes. You need to install and activate it and then add the code to its functions.php file. If it will not help, please provide us your FTP access so we can check it.

    #33525

    PoliSafety IT
    Participant

    Here you go.

    #33534

    Artem Temos
    Keymaster

    Sorry, but we don’t see any files http://prntscr.com/i0ocw8

    #33537

    PoliSafety IT
    Participant

    Do we have an update on the issue? Because for the past hour or so the administrative panel is not working!

    Best regards,
    PoliSafety IT Manager

    #33543

    PoliSafety IT
    Participant

    Please try again with the FTP credentials that are already provided.

    #33546

    Artem Temos
    Keymaster

    But we still don’t see any files on your FTP access. If the website is not working well now, you can simply deactivate this plugin and remove any extra code you have added.

    And you didn’t answer our question about the child theme. Did you install it?

    #33549

    PoliSafety IT
    Participant

    On an unrelated note we are experiencing some server issues at the moment that need to be resolved ASAP. Thank you very much for your time and effort but we will have to get back on this issue on a later time.

    If possible leave this topic open and unresolved so we can continue the discussion here.

    Best regards.

    #33550

    Artem Temos
    Keymaster

    Sure, take your time. We are waiting for your response to continue resolving this issue.

Viewing 13 posts - 1 through 13 (of 13 total)