Why does deactivating a plugin cause error: “You do not have sufficient permissions to access this page”?

For the specific case of bbPress, it adds new user roles and capabilities, like the “Keymaster” role. Those users who had a role that was bbPress specific won’t have access to anything anymore, because after you removed the plugin, the role no longer exists. Some users have reported that using the “User Role Editor” plugin … Read more

WordPress file permissions for editing on local Ubuntu development machine

I’m too working on Ubuntu, personally I’m setting things up like this: sudo chown -R nasser /path/to/your/wordpress/root/ sudo chgrp -R www-data /path/to/your/wordpress/root/ sudo chmod -R 775 /path/to/your/wordpress/root/ I only do this on my local development machine for convenience and a smoother work-flow. One more thing to note, I’ve moved the www directory into the home … Read more

Problem in theme installing?

Log in to your server via SSH, upload the zip file to the /var/www/html/wordpress/wp-content/theme/ directory, then extract it. If you have a control panel, upload and extract the theme using the control panel file manager. Once finished, go to WordPress administration back-end and activate the theme. If you have SSH access to your server, check … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)