19 | 03 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 55 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser

TOPIC: Does not work with PHP 7

Does not work with PHP 7 7 years 3 months ago #7255

  • cbaugher
  • cbaugher's Avatar
  • Offline
  • Новый участник
  • Posts: 10
  • Karma: 0
I love Commedia but it does not work with php 7 and I would very much like to run php 7.

With php 7.0.13 I get this error:

Fatal error: 'break' not in the 'loop' or 'switch' context in /components/com_commedia/classes/getid3.lib.php on line 285

With php 7.1.0 I get this error:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentcommedia has a deprecated constructor in /commedia/commedia.php on line 13

Fatal error: 'break' not in the 'loop' or 'switch' context in /components/com_commedia/classes/getid3.lib.php on line 285
Last Edit: 7 years 3 months ago by cbaugher.
The administrator has disabled public write access.

Does not work with PHP 7 7 years 3 months ago #7256

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Hello,
This is problem of getid3 library. Could You pkease remove break in that line 285?
Last Edit: 7 years 3 months ago by admin.
The administrator has disabled public write access.

Does not work with PHP 7 7 years 3 months ago #7257

  • cbaugher
  • cbaugher's Avatar
  • Offline
  • Новый участник
  • Posts: 10
  • Karma: 0
Thank you so much for the quick reply!!! That fixed it. I love this component and your support has always been great and quick.


The error for 7.1 still exist. But I am nowhere close to wanting to run php 7.1 since it was just released. But just thought you would want to know. If you did not already. :)
Last Edit: 7 years 3 months ago by cbaugher.
The administrator has disabled public write access.

Does not work with PHP 7 7 years 3 months ago #7258

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Thank You for using Commedia
The administrator has disabled public write access.
Time to create page: 0.089 seconds
for children older than 12 years