Hi,
Please indicate the version number of the plugin installed in your website.
Thank you!
@suziwilson @codepeople , I just tried to update to php 8.3 and got same error. Tried and failed on all v8.x versions of PHP.
Error in WP log:
[20-Apr-2026 13:21:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in .../public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php:97
Stack trace:
#0 .../public_html/wp-settings.php(560): include_once()
#1 /.../public_html/wp-config.php(69): require_once('/home/sladeban/...')
#2 /.../public_html/wp-load.php(50): require_once('/home/sladeban/...')
#3 /.../public_html/wp-blog-header.php(13): require_once('/home/sladeban/...')
#4 /.../public_html/index.php(17): require('/home/sladeban/...')
#5 {main}
thrown in /.../public_html/wp-content/plugins/cp-contact-form-with-paypal/cp_contactformpp.php on line 97
PHP function create_function() was deprecat3ed in v7.2 and removed in v8.
see https://www.php.net/manual/en/function.create-function.php
WP 6.9.4
CP contact form with Paypal: Version 5.2.20
So that’s weird, your plugin on on wp.org says your version is : 1.3.64
So whats going on with your version numbers?
/Colin
Hi,
You are using an outdated commercial version of the plugin. Update to the latest version to correct that problem and keep it compatible with the latest PHP versions.
Thank you!


Leave a Reply