I am trying to locate my snippet files, since I wish to edit them in a remote code editor, for more functionality and error correction. I cannot find the files, so where should I look?
Thx
]]>I’m trying to do this but i don’t have much success.
Any help ?
P.S I did pulled the data using the get_userdata($user_id);
I did make another wpdb instance to the remote database using and it’s variables
$other_db = new wpdb($other_db_user, $other_db_password, $other_db_name, $other_db_host);
the entire code looks something like this
require __DIR__ . '/wp-load.php';
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
global $wpdb;
$other_db = new wpdb($other_db_user, $other_db_password, $other_db_name, $other_db_host);
if (!$other_db) {
echo $wpdb->show_errors();
}else{
echo 'Connected successfully';
}
// Get user data from the local database
$user = get_userdata($user_id);
$external_users = $other_db->'users';
$wpdb->insert($external_users,
array(
'username' => $user->user_login,
'hash' => $user->user_pass,
'email' => $user->user_email,
)
);
when i try to run the file with the code i just get blank page suspecting its some kind of error which doesn’t print nor doesn’t show in the debug.log
]]>I have already read, that the plugin recognizes all the backups stored remotely, even if they are from different projects, e.g. domain1.com, domain2.com, etc. This seems to me a bit too insecure, still, I understand that it is the free version.
The problem is that when I disconnect my Drive account, the backups still appear. I understand that if there are no Drive credentials, one would not be able to access that remote storage.
If this is not what I am referring to, I wanted to know if the plugin has the option like other plugins, to check some setting that deletes everything from the plugin, and so do a clean install again, without the old credentials.
]]>How can I change the font or background for this area?
I don’t have a public visible link at the moment since the site is under construction in staging.
]]>I have a problem with remote control of websites through Cerber.Hub. When I try to view a “managed” website from the “manager” side, I get such an error:
Invalid response from the remote website
HTTP ERROR 500 The remote website (web server) is unable to proceed due to a fatal software (PHP) error. Check the server error log on the managed website.
I checked the debugger on the “managed” website, and it turns out the issue is with the file cerber-common.php and the function wp_is_auto_update_enabled_for_type(). Full logs below.
HP Fatal error: Uncaught Error: Call to undefined function wp_is_auto_update_enabled_for_type() in /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/cerber-common.php:664
Stack trace: 0 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/cerber-common.php(759): {closure}() 1 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/admin/cerber-dashboard.php(157): cerber_issue_monitor() 2 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/admin/cerber-dashboard.php(5615): cerber_show_admin_page(‘WP Cerber Secur…’, Array, ‘dashboard’, Object(Closure)) 3 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/nexus/cerber-nexus-client.php(254): cerber_render_admin_page(‘cerber-security’, ”) 4 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/nexus/cerber-nexus-client.php(289): nexus_render_admin_page(‘cerber-security’, ”) 5 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/nexus/cerber-nexus-client.php(198): nexus_prepare_response() 6 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/nexus/cerber-nexus.php(41): nexus_slave_process() 7 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/cerber-load.php(139): nexus_init() 8 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/wp-cerber.php(214): require_once(‘/home/xxxxxxxxxx/…’) 9 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/mu-plugins/aaa-wp-cerber.php(40): include_once(‘/home/xxxxxxxxxx/…’) 10 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-settings.php(387): include_once(‘/home/xxxxxxxxxx/…’) 11 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-config.php(90): require_once(‘/home/xxxxxxxxxx/…’) 12 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-load.php(50): require_once(‘/home/xxxxxxxxxx/…’) 13 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-blog-header.php(13): require_once(‘/home/xxxxxxxxxx/…’) 14 /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/index.php(17): require(‘/home/xxxxxxxxxx/…’) 15 {main}
thrown in /home/xxxxxxxxxx/domains/yyyyyyyyyyy/public_html/wp-content/plugins/wp-cerber/cerber-common.php on line 664
Disabling the option “Automatically update WP Cerber (Automatically install new versions of WP Cerber when they are available)” in WP Cerber on the “managed” website resolves the issue, but it also disables automatic updates. I have the latest version 9.5.6.
I will be grateful if you fix the issue quickly
Thanks
I have installed updraftplus for site backup I connected my google drive but my backup is not uploading on remote drive. I troubleshooted with wipe settings as well but issue is remain same. I can see updraft folder in my google drive but backup files are not uploading.
]]>My website is for remote jobs only it will be easier if this option is auto-selected for all jobs posted.
]]>Over the past month, I’ve repeatedly received the error “Waiting until scheduled time to retry because of errors“.
Here is the log file of one of the websites: https://pastebin.com/7DeNQrHi
If you’ll noticed, it says on line 600
” 0615.981 (2) Google Drive: ERROR: Have not yet obtained an access token from Google (has the user authorized?)”
This is not true, I have authorized the use of that Google Drive account.
I have tried to reauthorize, it doesn’t work.
I have tried to Wipe the settings, it still doesn’t work.
I have read through many of the related posts on this forum, none of them answer the question properly. Many of the threads were even closed before the issue is solved.
Can someone please tell me what I need to do? I don’t want to have to migrate to another backup solution.
]]>