Home › Forums › WoodMart support forum › Ultimate Member Conflict
Ultimate Member Conflict
- This topic has 12 replies, 2 voices, and was last updated 6 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
January 15, 2018 at 9:07 am #33499
PoliSafety ITParticipantHello,
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.
January 15, 2018 at 9:32 am #33510
Artem TemosKeymasterHello,
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
January 15, 2018 at 9:46 am #33512
PoliSafety ITParticipantYes of course.
Ultimate Member Version 2.0 Documentation:
http://docs.ultimatemember.com/article/262-manually-updating-to-2-0Ultimate Member 2.0 Download link:
https://ultimatemember.com/wp-content/uploads/2017/11/ultimate-member.zipJanuary 15, 2018 at 10:30 am #33519
Artem TemosKeymasterTry 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');
January 15, 2018 at 10:52 am #33521
PoliSafety ITParticipantThe code snippet worked in order to activate the plugin but I then get a 500 error on the admin panel.
January 15, 2018 at 10:59 am #33522
Artem TemosKeymasterBut 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.
January 15, 2018 at 11:08 am #33525
PoliSafety ITParticipantHere you go.
January 15, 2018 at 12:18 pm #33534
Artem TemosKeymasterSorry, but we don’t see any files http://prntscr.com/i0ocw8
January 15, 2018 at 12:21 pm #33537
PoliSafety ITParticipantDo we have an update on the issue? Because for the past hour or so the administrative panel is not working!
Best regards,
PoliSafety IT ManagerJanuary 15, 2018 at 12:26 pm #33543
PoliSafety ITParticipantPlease try again with the FTP credentials that are already provided.
January 15, 2018 at 12:29 pm #33546
Artem TemosKeymasterBut 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?
January 15, 2018 at 12:34 pm #33549
PoliSafety ITParticipantOn 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.
January 15, 2018 at 12:34 pm #33550
Artem TemosKeymasterSure, take your time. We are waiting for your response to continue resolving this issue.
-
AuthorPosts
Tagged: conflict, members, ultimate member, users
- You must be logged in to create new topics. Login / Register