deweil
Forum Replies Created
-
Forum: Plugins
In reply to: [Slideshow] Use of deprecated PHP4 style class constructor is not supportedAssuming you can edit the php files directly you can alter them to use the updated method. See my post above for details. Post here if you have more questions.
Forum: Plugins
In reply to: [Slideshow] Use of deprecated PHP4 style class constructor is not supportedWhen you said:
it will break the next time there is an update, unless it’s fixed there as well
Did you mean next time there is an update to the plugin? If so, you are correct. But hopefully the author of the plugin StefanBoonstra will update that part of the plugin. If not, you can do it easily yourself – again.
Sorry for the repeated posts. It did not update the first time I submitted and so I reposted my response. Now I cannot delete it.
Forum: Plugins
In reply to: [Slideshow] Use of deprecated PHP4 style class constructor is not supportedThis is actually an easy fix if you have access to the file in question “/wp-content/plugins/slideshow-jquery-image-gallery/classes/SlideshowPluginWidget.php”
Line 8 of SlideshowPluginWidget.php looks like this:
function SlideshowPluginWidget() {change that to
function __construct() {Mine looks like this:
/** * Initializes the widget * * @since 1.2.0 */ // commented the old constructor out because it is deprecated // function SlideshowPluginWidget() // add the new generic constructor name function __construct() {Forum: Plugins
In reply to: [Slideshow] Use of deprecated PHP4 style class constructor is not supportedThis is because the class SlideshowPluginWidget has a deprecated constructor (it’s old and php does it differently now).
This is actually an easy fix if you have access to the file in question “/wp-content/plugins/slideshow-jquery-image-gallery/classes/SlideshowPluginWidget.php”Line 8 of SlideshowPluginWidget.php looks like this:
function SlideshowPluginWidget() {change that to
function __construct() {Mine looks like this:
/** * Initializes the widget * * @since 1.2.0 */ // commented the old constructor out because it is deprecated // function SlideshowPluginWidget() // add the new generic constructor name function __construct() {Forum: Plugins
In reply to: [Slideshow] PHP updateThis is because the class SlideshowPluginWidget has a deprecated constructor (it’s old and php does it differently now).
This is actually an easy fix if you have access to the file in question “/wp-content/plugins/slideshow-jquery-image-gallery/classes/SlideshowPluginWidget.php”Line 8 of SlideshowPluginWidget.php looks like this:
function SlideshowPluginWidget() {change that to
function __construct() {Mine looks like this:
/** * Initializes the widget * * @since 1.2.0 */ // commented the old constructor out because it is deprecated // function SlideshowPluginWidget() // add the new generic constructor name function __construct() {