- This topic has 3 replies, 3 voices, and was last updated 7 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – PHP Error When Installed Staging Site
After installing the plugin to my staging site on my Mac using Mamp, I am getting the following error
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPSCartWidget has a deprecated constructor in /Applications/MAMP/htdocs/dev.ianbarberphotography.co.uk/wp-content/plugins/wp-photo-seller/models/WPSCartWidget.php on line 2
My Site Info is:
Plugin Version: 2.1.9
WP Version: 4.7.5
WPMU: No
MySQL Version: 5.6.35
WP Table Prefix: wp_
PHP Version: 7.0.15
Session Save Path: /Applications/MAMP/tmp/php
WP URL: http://localhost
Server Name: localhost
Cookie Domain: localhost
CURL Library Present: Yes
Debug File Write Permissions: Writable
Update:
Lowering the PHP version to 5.63 appears to have removed the error.
Are there any plans to release a version which will be PHP 7.X compatible.
All plugins are PHP 7 compatible. What you received was an advisory “warning” message; saying that it may be an issue in PHP 8 or some other future version of PHP. XAMPP style servers are “development tools” which tend to have their warning/error messages set on the highest possible setting. You normally won’t see that message on a commercial WP hosting site; unless you took steps to deliberately turn on those warning messages.
We will apply a fix for that warning.