Debug Massage Deprecated: Creation of dynamic property


  • Default avatar
    georg0    
     8 months ago
    0

    Hello dear sir!

    I searched for an issue with my hike Shop V3 Stripe Payment failure and made a debug.  I see this 2 massages. Can you please have a look at it. best regard


    Deprecated: Creation of dynamic property AwoCoupon::$lang is deprecated in /www/htdocs/w0112475/skotschnigg_at/administrator/components/com_awocoupon/helper/awocoupon.phpon line 83


    Deprecated: Creation of dynamic property AwoCoupon::$profile is deprecated in /www/htdocs/w0112475/skotschnigg_at/administrator/components/com_awocoupon/helper/awocoupon.phpon line 85


  • Your avatar
    seyi    
     8 months ago
    0

    Hello,

    In that file, right before
    <?php
    class AwoCoupon {
    ?>

    Add a line so it looks like this
    <?php
    #[AllowDynamicProperties]
    class AwoCoupon {
    ?>

    that should get rid of the warning.
  • Default avatar
    georg0    
     8 months ago
    0

    Hello,

    .. thanks, it works

    best regards