XTypo compatibility with PHP 7.0

Hello,

I just wanted to ask if XTypo is compatible with PHP 7.0. Has it been tested?

Thank you for confirming,
George
9 years 2 weeks ago #1 by George P

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

  • Posted by TemplatePlazza (5310) Offline
Hi, I haven't been able to install joomla 3.5 with php 7 in my local environtment yet. If you could, please try yourself and let us know if there's any issue with that.
9 years 2 weeks ago #2 by TemplatePlazza

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

Hello,

I am running my website under PHP 7. I have an error with Xtyp.
I have attached a screen copy of the problem.
I hope you will find a solution because your plugin is very useful.
8 years 7 months ago #3 by Amar Guillen

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

  • Posted by TemplatePlazza (5310) Offline
Hi, can you try to open the file ../plugins/content/xtypo/xtypo.php
at lines you will see this code :
function plgContentxtypo(&$subject, $params){
could you try to change that to :
function __construct(&$subject, $params){

and let me know the result
8 years 7 months ago #4 by TemplatePlazza

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

Hello,

thank you for your reply.
It works perfectly. Thank you very much.
You can close the case.

Have a nice day.
8 years 7 months ago #5 by Amar Guillen

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

I have also been using it with Joomla 3.6.2 and PHP 7.0.10 without issues. I haven't come across the above notice when i enabled the error reporting (otherwise i would have reported it), but it would be great if the fix is provided as an update together with any other PHP 7 code updates that might be needed!

Thank you for the great extension :)
8 years 7 months ago #6 by George P

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

Powered by Kunena Forum