Title: DEBUG-Fehler
Last modified: November 13, 2023

---

# DEBUG-Fehler

 *  Resolved [monetenfuchs](https://wordpress.org/support/users/monetenfuchs/)
 * (@monetenfuchs)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/)
 * Guten Tag,
 * Im WP_DEBUG-Modus wird mir folgender Fehler angezeigt:
 * _Deprecated: Creation of dynamic property PrliOptions::$link\_redirect\_action
   is deprecated in /kunden/xxxxxx\_xxxxx/wp/wp-content/plugins/pretty-link/app/
   models/PrliOptions.php on line 42_
 * Wie kann ich diesen Fehler beheben?
 * Viele Grüße
 * AW

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

 *  [Tyler](https://wordpress.org/support/users/tylerthedude/)
 * (@tylerthedude)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17198165)
 * Hi [@monetenfuchs](https://wordpress.org/support/users/monetenfuchs/),
 * Thank you for reaching out. Our developers have tried searching the code base
   for the latest version of Pretty Links (3.6.0 at the time of writing this), but
   there doesn’t appear to be a “link_redirect_action” property we’re using.
 * Are you on an older version of Pretty Links? If so, please try upgrading to the
   latest version and see if that removes the deprecation notice from your site’s
   debug.log file going forward.
 * I hope this helps!
 * Kind regards,
 *  Thread Starter [monetenfuchs](https://wordpress.org/support/users/monetenfuchs/)
 * (@monetenfuchs)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17198314)
 * Hallo,
 * vielen Dank für die Hilfe. Wir nutzen aktuell die Version 3.6.0 und der Verfallshinweis
   wurde leider **nicht** entfernt!
 * Gibt es noch einen anderen Lösungsvorschlag.
 * Viele Grüsse
 * AW
 *  Thread Starter [monetenfuchs](https://wordpress.org/support/users/monetenfuchs/)
 * (@monetenfuchs)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17203668)
 * Hallo, obwohl wir das Plugin gerade auf die Version 3.6.1 aktualisiert haben 
   ist der Fehler immer noch da!
 * _$this->{$key} = $value;_
 * Über einen Lösungsvorschlag würde ich mich sehr freuen.
 * VG
 * Armin
 *  [Tyler](https://wordpress.org/support/users/tylerthedude/)
 * (@tylerthedude)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17216682)
 * Hi [@monetenfuchs](https://wordpress.org/support/users/monetenfuchs/),
 * Thank you for getting back to me. Do you have any additional plugins active on
   the site that integrate with Pretty Links? The “link_redirect_action” option 
   isn’t something that we store in the database, so I’m wondering if it’s coming
   from somewhere else.
 * If you have any plugins that integrate with us, please try temporarily deactivating
   them and seeing if that helps to remove the deprecation notice you’re receiving.
 * If that still doesn’t help, please add this code snippet either to your theme’s
   functions.php or using a plugin such as WP Code and reload the admin dashboard
   once it’s added. This will remove the “link_redirect_action” option stored in
   the database so you should no longer receive that deprecation notice going forward:
 *     ```wp-block-code
       add_action( 'admin_init', function() {
           $options = get_option( 'prli_options' );
   
           if ( $options && is_array( $options ) ) {
               unset( $options['link_redirect_action'] );
   
               $prli_options = new PrliOptions( $options );
               $prli_options->store();
           }
       } );
       ```
   
 * I hope this helps!
 * Kind regards,
 *  Thread Starter [monetenfuchs](https://wordpress.org/support/users/monetenfuchs/)
 * (@monetenfuchs)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17218137)
 * Hallo Tyler,
 * vielen Dank für den Code. Ich habe diesen in meine functions.php hinzugefügt 
   und erhalte jetzt diese Meldung:
 * _PHP Deprecated: Creation of dynamic property PrliClick::$browser is deprecated
   in /kunden/xxxxxx\_xxxxx/wp/wp-content/plugins/pretty-link/app/models/PrliUtils.
   php on line 721
   PHP Deprecated: Creation of dynamic property PrliClick::$btype
   is deprecated in /kunden/xxxxxx\_xxxxx/wp/wp-content/plugins/pretty-link/app/
   models/PrliUtils.php on line 722
 * VG
 * AW
 *  [Tyler](https://wordpress.org/support/users/tylerthedude/)
 * (@tylerthedude)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17222804)
 * Hi [@monetenfuchs](https://wordpress.org/support/users/monetenfuchs/),
 * Thank you for getting back to me. It doesn’t look like I mentioned this in my
   last response, but once you’ve reloaded the admin dashboard with that code I 
   provided added you can remove it from your functions.php file as the “link_redirect_action”
   option will be deleted from the database.
 * Those two other deprecation notices you’re receiving appear to be a PHP 8 compatibility
   issue on our end. Our developers are working on making the plugin fully compatible
   with PHP 8 and those changes will fix these sorts of notices, but in the meantime,
   you can safely ignore them in your log file and Pretty Links will still function
   correctly.
 * The original notice you were receiving seems to have been caused by an old option
   we might’ve been storing in the plugin but removed support for in a later release,
   so I wanted to ensure we got that option removed for you.
 * I hope this helps!
 * Kind regards,
 *  Thread Starter [monetenfuchs](https://wordpress.org/support/users/monetenfuchs/)
 * (@monetenfuchs)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17224926)
 * Ok, danke für die Antwort, dann warte ich mal das nächste Update ab!

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

The topic ‘DEBUG-Fehler’ is closed to new replies.

 * ![](https://ps.w.org/pretty-link/assets/icon-256x256.png?rev=2503434)
 * [PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin](https://wordpress.org/plugins/pretty-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pretty-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pretty-link/)
 * [Active Topics](https://wordpress.org/support/plugin/pretty-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pretty-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pretty-link/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [monetenfuchs](https://wordpress.org/support/users/monetenfuchs/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/debug-fehler-2/#post-17224926)
 * Status: resolved