promodavid
Forum Replies Created
-
Wordpress Version 6.0.2 may have saved the day… Just pushed the update through and it appears to have fixed itself. Thank you so much for all your help with this issue!
Minify and Page caching are disabled and all caches have been purged. I’ve tried disabling both plugins to no avail..
Yep, so that’s what my previous message was from is the developer Tools console, you can go back a few messages and get the coded where I say: “If it helps, there’s also a jQuery error in the themes.php file. The console throws 2 errors “Uncaught ReferenceError: jQuery is not defined at themes.php:793:13 and themes.php:26:3”
Now however I’m getting the same error in a different file location (index.php) (Error message: Uncaught ReferenceError: jQuery is not defined
at index.php:25:3). Here’s the code where the error is now:jQuery(document).ready( function($) { $('#toplevel_page_w3tc_dashboard ul li').find('a[href*="w3tc_faq"]') .prop('target','_blank') .prop('href', "https:\/\/api.w3-edge.com\/v1\/redirects\/faq"); });I’m not using wordfence on the site, the two plugins that seem to break the most would be w3 cache and total upkeep.
I got access but the fix didn’t help anything… Front end of the website still not showing any issues but the back end is straight html. Here’s a screenshot
I renamed the et-cache folder and refreshed the permalinks. What ended up fixing the front end of the website was a simple ssl plugin but the admin dashboard is still broken. I’m trying the wp-config.php option but yet again, I need to wait to gain access from the client lol. I will respond after trying that option. Thank you for all the help so far!
If it helps, there’s also a jQuery error in the themes.php file. The console throws 2 errors “Uncaught ReferenceError: jQuery is not defined at themes.php:793:13 and themes.php:26:3”
This is the script:
<script type='text/javascript'> jQuery(document).ready(function ($) { $(".rlrsssl-review.notice.is-dismissible").on("click", ".notice-dismiss", function (event) { rsssl_dismiss_review('dismiss'); }); $(".rlrsssl-review.notice.is-dismissible").on("click", "#maybe-later", function (event) { rsssl_dismiss_review('later'); $(this).closest('.rlrsssl-review').remove(); }); $(".rlrsssl-review.notice.is-dismissible").on("click", ".review-dismiss", function (event) { rsssl_dismiss_review('dismiss'); $(this).closest('.rlrsssl-review').remove(); }); function rsssl_dismiss_review(type){ var data = { 'action': 'rsssl_dismiss_review_notice', 'type' : type, 'security': 'bfa47dce7d' }; $.post(ajaxurl, data, function (response) {}); } }); </script>This is the logs folder from when the restore happened:
Archive:
[2022-08-30 18:03:41 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:03:41 UTC] Last error: Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/archive-1661882621.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) [2022-08-30 18:03:41 UTC] Backup process initialized. [2022-08-30 18:03:41 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:03:41 UTC] Backup process initialized. [2022-08-30 18:03:41 UTC] Process id: 694290 [2022-08-30 18:03:41 UTC] Last error: Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/retention-local.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) [2022-08-30 18:03:41 UTC] -------------------------------------------------------------------------------- [2022-08-30 18:03:41 UTC] Starting dump of database... [2022-08-30 18:03:41 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11456912 (10.93 MB) / 13143216 (13 MB) [2022-08-30 18:03:41 UTC] Database info: Array ( [now_commentmeta] => 0 [now_comments] => 0 [now_links] => 0 [now_options] => 740 [now_postmeta] => 3638 [now_posts] => 1088 [now_term_relationships] => 228 [now_term_taxonomy] => 24 [now_termmeta] => 0 [now_terms] => 24 [now_usermeta] => 361 [now_users] => 15 [now_wpfm_backup] => 0 [now_yoast_indexable] => 588 [now_yoast_indexable_hierarchy] => 324 [now_yoast_migrations] => 23 [now_yoast_primary_term] => 44 [now_yoast_seo_links] => 363 ) [2022-08-30 18:03:41 UTC] Dump of database complete! $status = 1 [2022-08-30 18:03:41 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11448520 (10.92 MB) / 29875280 (28 MB) [2022-08-30 18:03:41 UTC] -------------------------------------------------------------------------------- [2022-08-30 18:03:52 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:03:52 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:03:54 UTC] Database dump file added to file list: /var/www/boldgrid_backup/neptunenow.20220830-180341.sql / 22435258 (21.40 MB) [2022-08-30 18:03:54 UTC] Starting archiving of files. Chosen compressor: pcl_zip [2022-08-30 18:03:54 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 59723920 (56.96 MB) / 64461872 (61 MB) [2022-08-30 18:03:57 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:03:57 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:02 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:02 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:07 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:07 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:12 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:12 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:17 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:17 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:22 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:22 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:27 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:27 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:32 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:32 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:37 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:37 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:42 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:42 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:47 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:47 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:52 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:52 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:04:57 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:04:57 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:05:02 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:05:02 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:05:07 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:05:07 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:05:12 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:05:12 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:05:13 UTC] Archiving of files complete! [2022-08-30 18:05:13 UTC] Archive filepath / size: /var/www/boldgrid_backup/boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip / 765449256 (729.99 MB) [2022-08-30 18:05:13 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 59723952 (56.96 MB) / 322931720 (308 MB) [2022-08-30 18:05:13 UTC] Starting sending of email... [2022-08-30 18:05:13 UTC] wp_mail_failed: Array ( [wp_error] => WP_Error Object ( [errors] => Array ( [wp_mail_failed] => Array ( [0] => Could not instantiate mail function. ) ) [error_data] => Array ( [wp_mail_failed] => Array ( [to] => Array ( [0] => ted@neptunenow.com ) [subject] => Backup completed for neptunenow.com [message] => Hello, A backup archive has been created for neptunenow.com. Backup details: Estimated Pause: 0.30 seconds Duration: 92.73 seconds Total size: 983.72 MB Archive file path: /var/www/boldgrid_backup/boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip Archive file size: 729.99 MB Compressor used: pcl_zip Backup triggered by: dengland (david@txpromomedia.com) FILE AND FOLDER SETTINGS Included: WPCORE,/wp-content Excluded: .git,node_modules DATABASE SETTINGS Tables Excluded: None You can manage notifications in your WordPress admin panel, under Total Upkeep settings. For help with restoring a Total Upkeep archive file, please visit: https://www.boldgrid.com/support/advanced-tutorials/restoring-boldgrid-backup/ Want to store your backups on Google Drive and Amazon S3, restore individual files with just a click, and have access to more tools? Get Total Upkeep Premium! - https://www.boldgrid.com/update-backup?source=bgbkup-email Best regards, The Total Upkeep plugin [headers] => Array ( [X-Mailer] => PHP/7.4.3 ) [attachments] => Array ( ) [phpmailer_exception_code] => 2 ) ) [additional_data:protected] => Array ( ) ) [last_error] => Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/retention-local.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) ) [2022-08-30 18:05:13 UTC] Sending of email complete! Status: [2022-08-30 18:05:17 UTC] Backup complete! [2022-08-30 18:05:17 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 59853512 (57.08 MB) / 322931720 (308 MB) [2022-08-30 18:05:17 UTC] Backup complete! [2022-08-30 18:05:17 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11577896 (11.04 MB) / 322931720 (308 MB) [2022-08-30 18:05:17 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:05:17 UTC] Backup process running: Yes (pgid = 3217703) [2022-08-30 18:05:22 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:05:22 UTC] Backup process running: Yes (pgid = 3217703)Restore:
[2022-08-30 18:22:39 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:22:39 UTC] Last error: Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/restore-1661883759.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) [2022-08-30 18:22:39 UTC] Restore process initialized. [2022-08-30 18:22:39 UTC] Memory usage - limit / current / peak memory usage: 128M / 11978080 (11.42 MB) / 12840328 (12 MB) [2022-08-30 18:22:39 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:22:39 UTC] Restoration process initialized. [2022-08-30 18:22:39 UTC] Memory usage - limit / current / peak memory usage: 128M / 11965496 (11.41 MB) / 12840328 (12 MB) [2022-08-30 18:22:39 UTC] Restore info: Array ( [mode] => restore [dryrun] => [filename] => boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip [filepath] => /var/www/boldgrid_backup/boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip [filesize] => 765450074 [archive_key] => 0 [restore_ok] => 1 ) [2022-08-30 18:22:39 UTC] ZipArchive not available. Unable to set_writable_permissions. Trying restore anyways... [2022-08-30 18:22:39 UTC] Unzipping archive... filepath / ABSPATH: /var/www/boldgrid_backup/boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip / /var/www/neptunenow/ [2022-08-30 18:22:39 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11972720 (11.42 MB) / 12840328 (12 MB) [2022-08-30 18:22:41 UTC] Last error: Array ( [type] => 2 [message] => mkdir(): File exists [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 545 ) [2022-08-30 18:22:41 UTC] Unzip complete! Status: 1 [2022-08-30 18:22:41 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11973416 (11.42 MB) / 42188880 (40 MB) [2022-08-30 18:22:41 UTC] Last error: Array ( [type] => 8 [message] => Trying to access array offset on value of type null [file] => /var/www/neptunenow/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-restore-helper.php [line] => 140 ) [2022-08-30 18:22:41 UTC] Attempting database restoration... $db_dump_filepath = [2022-08-30 18:22:41 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11976272 (11.42 MB) / 42188880 (40 MB) [2022-08-30 18:22:41 UTC] Database restoration complete. [2022-08-30 18:22:41 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 11976272 (11.42 MB) / 42188880 (40 MB) [2022-08-30 18:22:41 UTC] Sending "restoration complete" email notification... [2022-08-30 18:22:41 UTC] wp_mail_failed: Array ( [wp_error] => WP_Error Object ( [errors] => Array ( [wp_mail_failed] => Array ( [0] => Could not instantiate mail function. ) ) [error_data] => Array ( [wp_mail_failed] => Array ( [to] => Array ( [0] => ted@neptunenow.com ) [subject] => Restoration completed for neptunenow.com [message] => Hello, A backup archive has been restored for neptunenow.com. Restoration details: Archive file path: /var/www/boldgrid_backup/boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip Archive file size: 729.99 MB You can manage notifications in your WordPress admin panel, under Total Upkeep Settings. Best regards, The Total Upkeep plugin [headers] => Array ( [X-Mailer] => PHP/7.4.3 ) [attachments] => Array ( ) [phpmailer_exception_code] => 2 ) ) [additional_data:protected] => Array ( ) ) [last_error] => Array ( [type] => 8 [message] => Trying to access array offset on value of type null [file] => /var/www/neptunenow/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-restore-helper.php [line] => 140 ) ) [2022-08-30 18:22:41 UTC] Email sent. Status: Fail [2022-08-30 18:22:41 UTC] Restoration complete! [2022-08-30 18:22:41 UTC] Restoration complete! [2022-08-30 18:22:41 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 12114456 (11.55 MB) / 42188880 (40 MB)Retention Local:
[2022-08-30 18:03:41 UTC] Last error: Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/archive-1661882621.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) [2022-08-30 18:03:41 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:03:41 UTC] Last error: Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/retention-local.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) [2022-08-30 18:03:41 UTC] Beginning core::enforce_retention... [2022-08-30 18:03:41 UTC] Retention count: 5 [2022-08-30 18:03:41 UTC] Number of archives found: 3 [2022-08-30 18:03:41 UTC] Number of protected archives found: 0 [2022-08-30 18:03:41 UTC] No backups to delete at this time due to retention settings. [2022-08-30 18:05:17 UTC] Last error: Array ( [type] => 2 [message] => file_get_contents(/var/www/boldgrid_backup/logs-e198fc16-4a642a253b183119/retention-local.log): failed to open stream: No such file or directory [file] => /var/www/neptunenow/wp-admin/includes/class-wp-filesystem-direct.php [line] => 39 ) [2022-08-30 18:05:17 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2022-08-30 18:05:17 UTC] Beginning core::enforce_retention... [2022-08-30 18:05:17 UTC] Retention count: 5 [2022-08-30 18:05:17 UTC] Number of archives found: 4 [2022-08-30 18:05:17 UTC] Number of protected archives found: 0 [2022-08-30 18:05:17 UTC] No backups to delete at this time due to retention settings.This is the content that was next to the zip folder of the backup:
{"mode":"backup","dryrun":false,"compressor":"pcl_zip","filesize":765449256,"save":true,"total_size":1031504979,"folder_include":"WPCORE,\/wp-content","folder_exclude":".git,node_modules","table_exclude":[],"title":"pre 6.0 update","description":null,"ABSPATH":"\/var\/www\/neptunenow\/","backup_id":"e198fc16","siteurl":"https:\/\/neptunenow.com","timestamp":1661882621,"gateway_interface":"CGI\/1.1","http_host":"neptunenow.com","php_sapi_name":"apache2handler","php_uname":"Linux ip-172-31-62-130 5.13.0-1017-aws #19~20.04.1-Ubuntu SMP Mon Mar 7 12:53:12 UTC 2022 x86_64","php_version":"7.4.3","server_addr":"172.31.62.130","server_name":"neptunenow.com","server_protocol":"HTTP\/1.1","server_software":"Apache\/2.4.41 (Ubuntu)","uid":33,"username":"www-data","encrypt_db":false,"trigger":"dengland (david@txpromomedia.com)","filepath":"\/var\/www\/boldgrid_backup\/boldgrid-backup-neptunenow.com-e198fc16-20220830-180354.zip","lastmodunix":1661882713,"duration":"92.73","db_duration":"0.30","db_filename":"neptunenow.20220830-180341.sql","mail_success":false}I’m trying to access it through the file manager but I don’t have access to the folder. I’m talking with the client to get access now.
Well for starters, I was trying to push a theme update through and that failed because of an unwriteable file that was in the theme folder so I’m working on getting that out of there now. But that was the reason for me attempting to restore in the first place. But now it’s just a million times worse… Do you think an unwriteable php file in the theme folder might cause this issue with the plugin as well? I have tried disabling all plugins with no success.