plugin user-role-editor: cannot access settings page, but I’m admin?

I opened the plugin and found this capabilities tested ‘ure_edit_roles’ => 1, ‘ure_create_roles’ => 1, ‘ure_delete_roles’ => 1, ‘ure_create_capabilities’ => 1, ‘ure_delete_capabilities’ => 1, ‘ure_manage_options’ => 1, ‘ure_reset_roles’ => 1 I added manually this capabilities to my user, editing the related wp_usermeta for my id and key “wp_user_capabilities”. Now I can enter into plugin’s setting … Read more

WordPress Permissions Issue for Media Library / uploading

As you can see in wp-includes/script-loader.php, the exact message ‘An error occurred in the upload. Please try again later.’ is the default error message. After looking further in wp-includes/js/plupload/handlers.js you can realize that something specific happened. You could debug this by setting a breakpoint to look up exact error code. See https://stackoverflow.com/a/13372025/2234089 for more information … Read more

Only an admin can add new tags

To restrict non-administrators from adding new tags in the WordPress admin area, you can use a combination of WordPress hooks and capabilities checks. The idea is to disable the ability for users who are not administrators to create new tags while still allowing them to select from existing tags when editing posts. Here’s a custom … Read more

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