“There has been a critical error on this website.”
-
I am a Firefighter, not a computer expert, but I’ve been able to run my Krav Maga San Diego website for years with a little help. We can’t open registration for our upcoming womens seminar: Whoever fills out our form sees an error message: “There has been a critical error on this website.” They are NOT taken to the PayPal page. We DO get the registration form by email. But they can’t pay. And we can’t open registration today (8 hours on the computer and phone with Bluehost). They updated my PHP from 7.4 to 8.3. Then they said CP Contact Form with PayPal was incompatible with PHP 8.3. They reverted me to PHP 7.4. It still wouldn’t work. I asked them to revert me to 8.3, they did. Still wouldn’t work. They sent me error message which they said ‘proves’ it’s the plugin CP Contact Form with PayPal, not anything else. Here is the error message:
[02-Aug-2025 01:43:37 UTC] PHP Fatal error: Uncaught TypeError: str_replace(): Argument #2 ($replace) must be of type string when argument #1 ($search) is a string in /home3/kravmai1/public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php:1601
Stack trace: 0 /home3/kravmai1/public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php(1601): str_replace(‘<%fieldname9%>’, Array, ‘http://wp.me/P6…’) 1 /home3/kravmai1/public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php(1211): cp_contactformpp_replace_params(‘http://wp.me/P6…’, Array) 2 /home3/kravmai1/public_html/wp-includes/class-wp-hook.php(324): cp_contact_form_paypal_check_posted_data(”) 3 /home3/kravmai1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 4 /home3/kravmai1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5 /home3/kravmai1/public_html/wp-settings.php(704): do_action(‘init’) 6 /home3/kravmai1/public_html/wp-config.php(103): require_once(‘/home3/kravmai1…’) 7 /home3/kravmai1/public_html/wp-load.php(50): require_once(‘/home3/kravmai1…’) 8 /home3/kravmai1/public_html/wp-blog-header.php(13): require_once(‘/home3/kravmai1…’) 9 /home3/kravmai1/public_html/index.php(17): require(‘/home3/kravmai1…’) 10 {main}thrown in /home3/kravmai1/public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php on line 160
6:46 PM
Business said
This is the full error6:46 PM
Business said
You can clearly see the error in the line of code of this plugin6:47 PM
New message Business said You can clearly see the error in the line of code of this plugin 6:47 PM9b10fd5317c05baf9e0d3735c530c48dNotice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the eleven40 domain
was triggered too early. This is usually an indicator for some code in the plugin or theme running too early.
Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information.
(This message was added in version 6.7.0.) in /home3/kravmai1/public_html/wp-includes/functions.php on line 6114Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in
/home3/kravmai1/public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php on line 869There has been a critical error on this website.
Learn more about troubleshooting WordPress.
Can anyone help?
The page I need help with: [log in to see the link]
The topic ‘“There has been a critical error on this website.”’ is closed to new replies.