Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-12-09 10:35:05

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

PHP7 and smd_lib

after PHP 5.2.4 > PHP 7, i got this error:

<pre dir="auto">A problem occurred while loading the plugin: <b>smd_lib</b> -> <b>8192: Methods with the same name as their class will not be constructors in a future version of PHP; smd_MLP has a deprecated constructor on line 4</b></pre>

what i should do?

Offline

#2 2016-12-09 10:58:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: PHP7 and smd_lib

Ignore it for now, its only a warning (I think). Or change the plugin so that:

function smd_MLP(

becomes:

function __construct(

That should keep it quiet. I’ll fix it in due course, thanks for the report.

Last edited by Bloke (2016-12-09 10:59:29)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2016-12-09 11:05:18

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: PHP7 and smd_lib

thank’s! error is gone

Offline

Board footer

Powered by FluxBB