Title: PHP8.2 &#8211; Deprecated PHP error
Last modified: April 17, 2024

---

# PHP8.2 – Deprecated PHP error

 *  [momo-fr](https://wordpress.org/support/users/momo-fr/)
 * (@momo-fr)
 * [2 years ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/)
 * Hi, I see 3 deprecated PHP error with PHP8.2:
   **Deprecated**: Creation of dynamic
   property Pojo_A11y_Settings::$_page_title is deprecated in **/wp-content/plugins/
   pojo-accessibility/includes/pojo-a11y-settings.php** on line **636****Deprecated**:
   Creation of dynamic property Pojo_A11y_Settings::$_page_menu_title is deprecated
   in **wp-content/plugins/pojo-accessibility/includes/pojo-a11y-settings.php** 
   on line **637****Deprecated**: Creation of dynamic property Pojo_A11y_Settings::
   $_menu_parent is deprecated in **/wp-content/plugins/pojo-accessibility/includes/
   pojo-a11y-settings.php** on line **638**
 * Regards.
 * Jean

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

 *  [rafamem](https://wordpress.org/support/users/rafamem/)
 * (@rafamem)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/#post-17765405)
 * Same problem: **Deprecated**: Creation of dynamic property Pojo_A11y_Settings::
   $_page_title is deprecated
 *  [rafamem](https://wordpress.org/support/users/rafamem/)
 * (@rafamem)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/#post-17765426)
 * Solved with this change… Please update!
 *     ```wp-block-code
       // Define necessary private properties
   
           private $_page_title;
   
           private $_page_menu_title;
   
           private $_menu_parent;
   
           public function __construct() {
   
               // Initialize private properties
   
               $this->_page_title = __( 'One Click Accessibility', 'pojo-accessibility' );
   
               $this->_page_menu_title = __( 'One Click Accessibility', 'pojo-accessibility' );
   
               $this->_menu_parent = 'themes.php';
   
               add_action('admin_menu', array($this, 'admin_menu'), 20);
   
               add_action('admin_init', array($this, 'admin_init'), 20);
   
               add_action('admin_footer', array($this, 'print_js'));
   
               add_filter('plugin_action_links_' . POJO_A11Y_BASE, array($this, 'plugin_action_links'), 10, 2);
   
           }
       ```
   
 *  Thread Starter [momo-fr](https://wordpress.org/support/users/momo-fr/)
 * (@momo-fr)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/#post-17902615)
 * Hi [@rafamem](https://wordpress.org/support/users/rafamem/), where do you make
   this changes?
 *  [studio_m](https://wordpress.org/support/users/studiomondiale/)
 * (@studiomondiale)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/#post-18146176)
 * This has to go into the “includes\pojo-a11y-settings.php” file at line 635, replacing
   what is already there.
 * Then the notices go away. Can confirm that it works.
 *  [anakdelgado](https://wordpress.org/support/users/anakdelgado/)
 * (@anakdelgado)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/#post-18152003)
 * I just installed the plugin on the staging multisite website which is running
   on PHP 8.2 too, and it’s showing the same notices:
 * **Deprecated**: Creation of dynamic property Pojo_A11y_Settings::$_page_title
   is deprecated in **/home/ubuntu/public_html/wp-content/plugins/pojo-accessibility/
   includes/pojo-a11y-settings.php** on line **636**
 * **Deprecated**: Creation of dynamic property Pojo_A11y_Settings::$_page_menu_title
   is deprecated in **/home/ubuntu/public_html/wp-content/plugins/pojo-accessibility/
   includes/pojo-a11y-settings.php** on line **637**
 * **Deprecated**: Creation of dynamic property Pojo_A11y_Settings::$_menu_parent
   is deprecated in **/home/ubuntu/public_html/wp-content/plugins/pojo-accessibility/
   includes/pojo-a11y-settings.php** on line **638**

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

The topic ‘PHP8.2 – Deprecated PHP error’ is closed to new replies.

 * ![](https://ps.w.org/pojo-accessibility/assets/icon-256x256.gif?rev=3443222)
 * [Ally - Web Accessibility & Usability](https://wordpress.org/plugins/pojo-accessibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pojo-accessibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pojo-accessibility/)
 * [Active Topics](https://wordpress.org/support/plugin/pojo-accessibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pojo-accessibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pojo-accessibility/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 5 replies
 * 4 participants
 * Last reply from: [anakdelgado](https://wordpress.org/support/users/anakdelgado/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/php8-2-deprecated-php-error/#post-18152003)
 * Status: not a support question