Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Plugin reports PHP 7 compatibility issue on WPEngine #14

Open
vasseurb opened this issue Jun 21, 2019 · 0 comments
Open

Plugin reports PHP 7 compatibility issue on WPEngine #14

vasseurb opened this issue Jun 21, 2019 · 0 comments
Assignees

Comments

@vasseurb
Copy link

The WP Engine plugin PHP 7 Compatibility scans your plugin correctly but is reporting some errors. Some of these I think aren't valid and might be just the way you named your methods. Here's what's reported by the plugin. If these aren't valid then the plugin can be whitelisted.

FILE: /home2/evolveez/public_html/addons/teresadegrosbois/wp-content/plugins/s3-video/includes/playlist_management.php

FOUND 4 ERRORS AFFECTING 4 LINES

85 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
152 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
153 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
168 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead

FILE: /home2/evolveez/public_html/addons/teresadegrosbois/wp-content/plugins/s3-video/includes/video_tracking.php

FOUND 1 ERROR AFFECTING 1 LINE

26 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead

FILE: /home2/evolveez/public_html/addons/teresadegrosbois/wp-content/plugins/s3-video/includes/s3.php

FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 10 LINES

217 | WARNING | Method name "S3::__triggerError" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1394 | WARNING | Method name "S3::__getCloudFrontInvalidationBatchXML" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1423 | WARNING | Method name "S3::__getCloudFrontDistributionConfigXML" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1463 | WARNING | Method name "S3::__parseCloudFrontDistributionConfig" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1523 | WARNING | Method name "S3::__getCloudFrontResponse" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1552 | WARNING | Method name "S3::__getMimeType" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1603 | WARNING | Method name "S3::__getSignature" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1618 | WARNING | Method name "S3::__getHash" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1871 | WARNING | Method name "S3Request::__responseWriteCallback" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
1888 | WARNING | Method name "S3Request::__responseHeaderCallback" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.

@anthony-mills anthony-mills self-assigned this Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants