[New Release] Sj BeStore - Multipurpose Joomla eCommerce Template
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

yt framwork problem with php 7
(1 viewing) (1) Guest

TOPIC: yt framwork problem with php 7

yt framwork problem with php 7 2 years, 6 months ago #30181

Hi,

in this time i use php 5.6 on my site (724Press) without any problem. but i want use php 7. after choose it (from php selector of cpanel) my front-end go down. error in my log is :

[28-Nov-2016 05:51:41 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; YtFrameworkTemplate has a deprecated constructor in /home/
724/public_html/plugins/system/yt/includes/site/lib/yt_template.php on line 16 
[28-Nov-2016 05:51:41 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; YtFrameworkRenderXML has a deprecated constructor in /home
/724/public_html/plugins/system/yt/includes/site/lib/yt_renderxml.php on line 13 
[28-Nov-2016 05:51:41 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; YtObject has a deprecated constructor in /home/724/p
ublic_html/templates/sj_imag/menusys/ytobject.php on line 13


so i think yt framwork not compatable with php 7 yet. yes? and if yes why you dont release compatable version?!
Last Edit: 7 months, 1 week ago by Vahid.

Re: yt framwork problem with php 7 2 years, 6 months ago #30213

  • yennt
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear Vahid,

Our developer are checking this issue. I will inform to you as soon as possible.

Thanks & regards!
The following user(s) said Thank You: Vahid

Re: yt framwork problem with php 7 2 years, 6 months ago #30446

Hi Again

And do you have any new news of this issue?!

Re: yt framwork problem with php 7 2 years, 4 months ago #31448

Hello

and can you please answer to this issue so other users can use it too?

Re: yt framwork problem with php 7 2 years, 4 months ago #31462

Dear Vahid

Please go to /plugins/system/yt/includes/site/lib/yt_template.php and find:

function YtFrameworkTemplate ($template =null, $cookie) {

=> change to:

fnction __construct ($template =null, $cookie) {

go to /plugins/system/yt/includes/site/lib/yt_renderxml.php and find:

function YtFrameworkRenderXML($xmlfile){

=> change to:

fnction __construct ($xmlfile){

- go to templates/sj_imag/menusys/ytobject.php and find:

function YtObject()

=> change to:

fnction __construct()

you can refer read more here: stackoverflow.com/questions/36339774/php7-constructor-class-name

thanks

Re: yt framwork problem with php 7 2 years, 4 months ago #31548

Hi

thank you for them. but for other users which read this topic i must say change "fnction" with "function" in above code if you want your site dont go down!

also you can release new version or update patch for all users to solve this and same issue.

thank you
The following user(s) said Thank You: andyricor
Time to create page: 0.40 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes