leepettijohn
Forum Replies Created
-
I get a “0” (zero)
This is the only log message – [Sat Nov 11 13:40:26 2017] [error] [client 199.188.205.23] \tCpanel::Quota::displayquota(HASH(0x14ba070)) called at /home/brightside/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 12, referer: http://brightsidetraining.org/wp-cron.php?doing_wp_cron=1510425619.9439330101013183593750
I set wp_debug to true and it didn’t show any errors either.
No, but still does not work with the Twenty-Seventeen theme.
Here is the Console error – http://brightsidetraining.org/wp-content/uploads/2017/11/Snip20171110_1.png
Hey wfyann,
If the hosting provider were blocking access, the other pages that use AJAX wouldn’t work either
The Live Traffic page doesn’t show any activity when I try to update the options page.Any other suggestions.
THAT’S what I was looking for. Thanks so much!!!
Forum: Fixing WordPress
In reply to: Remove role, then replaced with …?BUT …
Utilizing this code …
$roles_to_delete = array('role1','role2','role3'); foreach ( $roles_to_delete as $role ){ $users = get_users( array( 'role' => $role ) ); if ( count( $users ) <= 0 ){ remove_role( $role ); } else { foreach ($users as $user){ $userid = $user->ID; $user_id_role = new WP_User($userid); $user_id_role->set_role(get_option('default_role')); } remove_role( $role ); } }This will scroll through each user of the roles you want to delete and set them to your “default role.” Thereby, helping you clean up your plugin when deleted.
Forum: Fixing WordPress
In reply to: Remove role, then replaced with …?Just tested this and if you remove the role, it sets the user to “-No Role For This Site-”
Forum: Fixing WordPress
In reply to: Remove role, then replaced with …?Yes, if I add plugin that has a role called “New Admin Role” and then change all administrators to that role. When I remove the plugin, and thus, remove the “New Admin Role”, what role replaces that?
Does WordPress remember the last role registered and change to that?