Tuesday, 24 May 2016
  7 Replies
  2.4K Visits
0
Votes
Undo
Hi...

When moving the site to PHP 7 I get the following error in the calendar module...

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; modJeventsCalHelper has a deprecated constructor in /home/xxx/public_html/cms3/modules/mod_jevents_cal/helper.php on line 15

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DefaultModCalView has a deprecated constructor in /home/xxx/public_html/cms3/modules/mod_jevents_cal/tmpl/default/calendar.php on line 14

Thought you may need to know.

Gordon
8 years ago
·
#171182
0
Votes
Undo
Thanks for the update - we are removing these old style constructors. In the meantime you should disable error reporting in your Joomla config.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

8 years ago
·
#171183
0
Votes
Undo
Hi Geraint...
Happy to help. You still have a great calendar and have done for many years. I always leave errors on, so I rolled the site back to PHP 5.5.
8 years ago
·
#171184
0
Votes
Undo
Hello,

You really shouldn't leave errors on a production site. This is a security issue for one and also not good for your users to see.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

8 years ago
·
#171185
0
Votes
Undo
Curious to how PHP 7 is coming.... any predictions on time frame?
Thanks!
8 years ago
·
#171186
0
Votes
Undo
Jevents works fine with PHP 7 - you may get some strict notices about deprecated functions (which be eliminated in the next couple of releases) but these will not appear unless you have maximum error reporting enabled.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

8 years ago
·
#171187
0
Votes
Undo
If I have errors set to system default I get these, which are what you are referring too.... of course turning errors off nothing is displayed.
Set on simple and none are displayed either.


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; jevFilter has a deprecated constructor in mysiteinfo/components/com_jevents/libraries/filters.php on line 261

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; jevBooleanFilter has a deprecated constructor in mysiteinfo/components/com_jevents/libraries/filters.php on line 420

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; jevTitleFilter has a deprecated constructor in mysiteinfo/components/com_jevents/libraries/filters.php on line 455

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AlternativeBuildMonthSelect has a deprecated constructor in mysiteinfo/components/com_jevents/views/alternative/helpers/alternativebuildmonthselect.php on line 4
8 years ago
·
#171188
0
Votes
Undo
Hello,

These are PHP Developer notices for future version of PHP your host really shouldn't have these on by default. If this is a production site set the error reporting to none.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.