Viewing 1 replies (of 1 total)
  • Plugin Author braekling

    (@braekling)

    Hi Torsten,

    thanks for the hint! But don’t worry: There is no fix required, because the call is silenced with an @ sign. So if the directive can be set, it will be set… otherwise nothing happens. But even without the silence marker setting a not-existing INI directive should not cause an error.

    The file proxy/piwik.php is a branch of Piwik’s proxy script which should work with PHP7: https://github.com/piwik/tracker-proxy/issues/12 (there are no known issues).
    (If you are not using the proxy tracking code, you don’t have to care about this file.)

    Btw. WordPress sets this directive, too. Open wp-settings.php and have a look at line 48ff:

    // Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.
    @ini_set( 'magic_quotes_runtime', 0 );
    @ini_set( 'magic_quotes_sybase',  0 );

    I’m running WP-Piwik on PHP 7 for several months now and everything works fine.

    Long story short: Don’t worry, feel free to update. WordPress, Piwik and WP-Piwik are PHP7 compatible. 🙂

    Best regards
    André

Viewing 1 replies (of 1 total)

The topic ‘PHP7 compatibility’ is closed to new replies.