× Other Plugins

cb plugin error

6 years 7 months ago 6 years 7 months ago by saman سامان.
saman سامان
Posts: 253
More
Topic Author
cb plugin error #1
hi.i use php 7 and get this error:
Methods with the same name as their class will not be constructors in a future version of PHP; getcbmycertificatesTab has a deprecated constructor in /home/*********/domains/*************/public_html/components/com_comprofiler/plugin/user/plug_cbjoomdlemycertificates/cbmycertificates.php on line 19

Please Log in or Create an account to join the conversation.

6 years 7 months ago
saman سامان
Posts: 253
More
Topic Author
cb plugin error #2
i use __construct() instead of getcbmycertificatesTab() to repair that.
is it right? is there any other work need to do?

Please Log in or Create an account to join the conversation.

6 years 7 months ago
Antonio Durán
Posts: 7815
More
cb plugin error #3
That's the right fix. We will release a new version soon. I don't think any other changes are needed.

Please Log in or Create an account to join the conversation.