Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

(Pro) Plugin incompatible with PHP 7.3.1
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: (Pro) Plugin incompatible with PHP 7.3.1
#65044
(Pro) Plugin incompatible with PHP 7.3.1 5 Years, 7 Months ago Karma: 0
Hello,

We just bought this Plugin and it seems it ist currently incompatible with PHP 7.3.1. I am getting the following error:

Code:

strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior


Code:


/wp-content/plugins/ari-stream-quiz/libraries/plugin-update-checker/plugin-update-checker.php

    /**
     * Check if the plugin file is inside the mu-plugins directory.
     *
     * @return bool
     */
    protected function isMuPlugin() {
        static $cachedResult = null;
 
        if ( $cachedResult === null ) {
            //Convert both paths to the canonical form before comparison.
            $muPluginDir = realpath(WPMU_PLUGIN_DIR);
            $pluginPath  = realpath($this->pluginAbsolutePath);
 
          $cachedResult = (strpos($pluginPath, $muPluginDir) === 0); /*<---- This Line throws the error */
        }
 
        return $cachedResult;
    }
 



I found a workaround for now, disabled error-reporting, but it would be nice if this could be fixed in a future Version.

Regards,
Last Edit: 2019/05/22 08:27 By conversory.
The administrator has disabled public write access.
 
#65048
Re:(Pro) Plugin incompatible with PHP 7.3.1 5 Years, 7 Months ago Karma: 760
Hello,

Thank you for your report. We will update the code in the next version.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1