+ Reply to Thread
Results 1 to 4 of 4

Thread: PHP Warning on Frontend and Admin

  1. #1
    Senior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    120

    PHP Warning on Frontend and Admin

    Hi, the following Deprecated warnings show on various front-end and admin pages:


    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rlListingStatus has a deprecated constructor in /var/www/vhosts/xxx.com/httpdocs/plugins/listing_status/rlListingStatus.class.php on line 27

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rlRef has a deprecated constructor in /var/www/vhosts/xxx.com/httpdocs/plugins/ref/rlRef.class.php on line 27

    I'm running PHP 7.3.4. Should I downgrade the PHP version?

  2. #2
    Hello Jason,

    What a version of the plugins do you use? I have checked the latest version of plugins and the problem should be solved.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Senior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    120
    Hi Viktor,

    I'm using Listing Status 2.1.4 and Ref Number 2.0.3.

    I tried replacing "function rlListingStatus()" with "public function __construct()" but it didn't work.
    Last edited by Jason Barbour; April 22, 2019 at 04:58 AM.

  4. #4
    Hello Jason,

    I have changed it for both plugins and now all ok. Please check your site again.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread