Deprecated: Optional parameter $filename declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrimage.php on line 30 Deprecated: Optional parameter $pixelPerPoint declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrimage.php on line 30 Deprecated: Optional parameter $outerFrame declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrimage.php on line 30 Deprecated: Optional parameter $saveandprint declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrimage.php on line 30 Deprecated: Optional parameter $filename declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrvect.php on line 140 Deprecated: Optional parameter $pixelPerPoint declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrvect.php on line 140 Deprecated: Optional parameter $outerFrame declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrvect.php on line 140 Deprecated: Optional parameter $saveandprint declared before required parameter $fore_color is implicitly treated as a required parameter in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/source/QRCode/lib/qrvect.php on line 140 /*jshint esversion: 6 */ $(document).ready(function() { "use strict"; $(document).on('submit', '#send-admin-ajax-formular', function() { $(".after-register-msg").addClass('d-none'); //spamschutz $('.add_repeat').html(''); var form_data = JSON.stringify($(this).serializeObject()); $.ajax({ url: 'admin/ajax/formular', type: "POST", contentType: 'application/json', data: form_data, success: function(data) { if (data.status) { success_message(data.msg); if (data.trigger) { $("#send-admin-ajax-formular").trigger("reset"); } if(data.new_kunde){ $("#main-wrapper").hide(); $(".after-register-msg").removeClass('d-none'); } } else { warning_message(data.msg); } }, error: function(xhr, resp, text) { // show error to console // console.log(xhr, resp, text); } }); return false; }); $(document).on('click', '.smtp-check', function() { var nonce = $(this).attr('data-nonce'); var method = $(this).attr('data-method'); $.post("admin/post/formular", { _nonce: nonce, method: method }, function(data) { if (data.status) { success_message(data.msg); } else { warning_message(data.msg); } }); }); $(document).on('click', '.generate_passwort', function() { var nonce = $(this).attr('data-nonce'); var method = $(this).attr('data-method'); $('.change_pw_type').removeClass('fa-eye-slash').addClass('fa-eye'); $.post("admin/post/formular", { _nonce: nonce, method: method }, function(data) { if (data.status) { $(".input_password").val(data.callbackPw); $(".input_password").prop('type', 'text'); $(".change_pw_type").removeClass('d-none'); } else { warning_message(data.msg); } }); $(document).on('click', '.change_pw_type', function() { var type = $(".input_password").attr('type'); if (type == 'text') { $(".input_password").prop('type', 'password'); $('.change_pw_type').removeClass('fa-eye').addClass('fa-eye-slash'); } if (type == 'password') { $(".input_password").prop('type', 'text'); $('.change_pw_type').removeClass('fa-eye-slash').addClass('fa-eye'); } }); }); }); Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, int given in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/index.php:8 Stack trace: #0 /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/index.php(8): str_replace() #1 {main} thrown in /mnt/web004/e1/03/511125403/htdocs/qrcode-check-com/index.php on line 8