Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Bugs with PHP 7?

$
0
0

@SuzanneSST wrote:

My webhost has recently updated to PHP 7.0 and provided a plugin to make sure my WordPress site was compatible. Although I saw in a forum thread from June 2016 (https://forum.piwik.org/t/php-7-compatibility/19827) that Piwik is PHP 7 compatible, my webhost's tool identified the following potential errors:

FILE: /home/.../public_html/wp-content/plugins/wp-piwik/proxy/piwik.php
FOUND 1 ERROR AFFECTING 1 LINE
98 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4.

FILE: /home/.../public_html/wp-content/plugins/wp-piwik/classes/WP_Piwik.php
FOUND 1 ERROR AFFECTING 1 LINE
353 | ERROR | Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0

I'm unable to use the tool to switch over to PHP 7.0 until no errors are detected.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles