nohlaorg
Forum Replies Created
-
I found a record it was updated 2 days ago, so around 8/21.
Good day and thank you for your help.
I also use Wordfence. The code (seems to be about ‘CloseSummer22Banner’) that is causing the error
wp-content/plugins/backup/BackupGuard.php
524 add_action(‘wp_ajax_backup_guard_closeSummer22Banner’, ‘wp_ajax_backup_guard_close_summer22_banner’); 538 `wp_die();
539 }
540
541 function wp_ajax_backup_guard_close_summer22_banner()
542 {
543 check_ajax_referer(‘backupGuardAjaxNonce’, ‘token’);
544 SGConfig::set(‘SG_CLOSE_SUMMER22_BANNER’, 1);`wp-content/plugins/backup/public/js/sgbackup.js
44 sgBackup.closeSummer22Banner();218 }; 219 ajaxHandler.run(); 220 } 221 ); 222 }; 223 224 sgBackup.closeSummer22Banner = function () { 225 jQuery('.sg-close-summer22-banner').bind( 226 'click', 227 function () { 228 var ajaxHandler = new sgRequestHandler( 229 'closeSummer22Banner', 230 { 231 token: BG_BACKUP_STRINGS.nonce 232 } 233 ); 234 ajaxHandler.callback = function (response, error) { 235 jQuery('#sg-summer22-banner').remove();1032 jQuery(window).on("resize", function () { 1033 setSummerButtonPosition(); 1034 }); 1035 1036 jQuery(window).on("load", function () { 1037 setSummerButtonPosition(); 1038 }); 1039 1040 function setSummerButtonPosition(file) { 1041 1042 let mainWidth = 1900, 1043 mainLeft = 6.15, 1044 customWidth = jQuery('#summer22background').width(), 1045 customLeft = 0, 1046 windowWidth = jQuery(window).width(); 1047 1048 if (windowWidth < 1440) { 1049 jQuery('#summer22button').css('maxWidth', 130); 1050 mainLeft = 10; 1051 } else { 1052 jQuery('#summer22button').css('maxWidth', 193); 1053 } 1054 1055 customLeft = (customWidth * mainLeft) / mainWidth; 1056 1057 jQuery('#summer22button').css('right', customLeft + '%'); 1058 } 1059…wordpress/wp-content/plugins/backup/public/include/header.php (actually begins row 3 but does not C&P)
6 $pluginCapabilities = backupGuardGetCapabilities(); 7 8 if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_FREE && !$closeSummer22Banner && !$isAdsEnabled) { 9 include_once(SG_NOTICE_TEMPLATES_PATH . 'summer22.php'); 10 }wp-content/plugins/backup/public/css/bgstyle.less.css
10023 /* "summer22" banner START */ 10024 #sg-summer22-banner { 10025 position: relative; 10026 margin-top: 10px; 10027 margin-right: 20px; 10028 } 10029 10030 #sg-summer22-banner .sg-close-summer22-banner { 10031 position: absolute; 10032 cursor: pointer; 10033 right: 5px; 10034 top: 5px; 10035 background-image: url(../img/close.png); 10036 width: 15px; 10037 height: 15px; 10038 background-size: 100%; 10039 background-repeat: no-repeat; 10040 } 10041 10042 #sg-summer22-banner img { 10043 width: 100%; 10044 height: auto; 10045 outline: none !important; 10046 } 10047 10048 #sg-summer22-banner a, 10049 #sg-summer22-banner a:hover, 10050 #sg-summer22-banner a:focus { 10051 display: block; 10052 outline: none !important; 10053 box-shadow: none !important; 10054 max-width: 193px; 10055 position: absolute; 10056 top: 50%; 10057 right: 6.15%; 10058 transform: translate(-0%, -50%); 10059 -ms-transform: translate(-0%, -50%); 10060 } 10061 /* "summer22" banner END */