By filipeboni
Hello!
Please someone help me. I’ve put a code on my wordpress customizer following a tutorial and I can’t access wp-admin in wordpress anymore.
Tutorial I’ve followed: Please add the given code in your wplms-customizer.php file in your wplms-customizer plugin :
add_filter(‘wplms_course_nav_menu’,‘wplms_course_nav_menu’);
function wplms_course_nav_menu($menu_array){
unset($menu_array[‘members’]);
return $menu_array;
Website access works ok, but can’t acess admin. I think I need to restore .htaccess, but don’t know how to locate it.
Can someone help?? Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The easiest way to get back to wp-admin may be to disable your plugins. If you rename wp-plugins to something like wp-plugins-old in your WordPress directory you should be able to access wp-admin again. You can also review your log file /var/log/apache2/error.log for an indication as to exactly where the 500 error occured.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.