Title: Deprecated code with PHP 8.3.3
Last modified: April 11, 2024

---

# Deprecated code with PHP 8.3.3

 *  Resolved [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/deprecated-code-with-php-8-3/)
 * Hi,
 * Deprecated code and debug notice :
 * `Deprecated: Creation of dynamic property forge12\contactform7\CF7Captcha\TimerValidator::
   $createtime is deprecated in /mypath/mysite.com/wp-content/plugins/captcha-for-
   contact-form-7/core/TimerValidator.class.php on line 53`
 *     ```wp-block-code
           /**
            * @return string
            */
           public function getCreatetime()
           {
               if (empty($this->createtime)) {
                   $dt = new \DateTime();
                   $this->createtime = $dt->format('Y-m-d H:i:s');
               }
               return $this->createtime;
           }
       ```
   
 * Regards.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Forge12 Interactive GmbH](https://wordpress.org/support/users/forge12/)
 * (@forge12)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/deprecated-code-with-php-8-3/#post-17773080)
 * Hello [@bonaldi](https://wordpress.org/support/users/bonaldi/),
 * this issue will be fixed with the upcoming release.
 * Best Regards
   Marc
 *  Plugin Author [Forge12 Interactive GmbH](https://wordpress.org/support/users/forge12/)
 * (@forge12)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/deprecated-code-with-php-8-3/#post-17814276)
 * Hello [@bonaldi](https://wordpress.org/support/users/bonaldi/) ,
 * should be fixed now. Thanks for the report.
 * Best Regards,
   Marc
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/deprecated-code-with-php-8-3/#post-17814297)
 * Thanks Marc, I’ll give it a try.
   However, I see that the tabs have disappeared
   and that the menu in WP now has only 2 entries.Is this normal?Regards.
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/deprecated-code-with-php-8-3/#post-17815421)
 * With PHP 8.3.8, I got this message when I activated the plugin:
 *     ```wp-block-code
       Warning: Undefined array key "protection_wordpress_comments_enable" in /var/www/wp/wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 442
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Deprecated code with PHP 8.3.3’ is closed to new replies.

 * ![](https://ps.w.org/captcha-for-contact-form-7/assets/icon-256x256.png?rev=3135000)
 * [SilentShield – Captcha & Anti-Spam for WordPress (CF7, WPForms, Elementor, WooCommerce)](https://wordpress.org/plugins/captcha-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captcha-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captcha-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/captcha-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captcha-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captcha-for-contact-form-7/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/deprecated-code-with-php-8-3/#post-17815421)
 * Status: resolved