Title: Small PHP Bug and Fix
Last modified: January 22, 2024

---

# Small PHP Bug and Fix

 *  [Inbound Horizons](https://wordpress.org/support/users/inboundhorizons/)
 * (@inboundhorizons)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/small-php-bug-and-fix/)
 * I noticed the following errors in my error log coming from this plugin. It appears
   that 3 varaiables were either not defined properly or were mis-spelled. **$ppr_metaurl**,**
   $pprshowcols**, **$ppr_newwindow**.
 * **$ppr_metaurl** – I think the property was never properly defined. 
   **$pprshowcols**–
   I think the property was never properly defined.**$****ppr_newwindow** – I think
   this is a type for $ppr_newindow.
 *     ```wp-block-code
       PHP Deprecated: Creation of dynamic property quick_page_post_reds::$ppr_metaurl is deprecated in /public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 97
   
       PHP Deprecated: Creation of dynamic property quick_page_post_reds::$pprshowcols is deprecated in //public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 99
   
       PHP Deprecated: Creation of dynamic property quick_page_post_reds::$ppr_newwindow is deprecated in /public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 1531
       ```
   
 * The fix should be adding the following 2 lines of code around line 72 and renaming
   the variable “_$ppr\_newindow_” to “_$ppr\_newwindow_” on line 45.
 *     ```wp-block-code
       	public $ppr_metaurl;
       	public $pprshowcols;
       ```
   
    -  This topic was modified 2 years, 4 months ago by [Inbound Horizons](https://wordpress.org/support/users/inboundhorizons/).
    -  This topic was modified 2 years, 4 months ago by [Inbound Horizons](https://wordpress.org/support/users/inboundhorizons/).

The topic ‘Small PHP Bug and Fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-pagepost-redirect-plugin_8d7b6f.
   svg)
 * [Quick Page/Post Redirect Plugin](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Inbound Horizons](https://wordpress.org/support/users/inboundhorizons/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/small-php-bug-and-fix/)
 * Status: not resolved