• icon mail
  • icon fb
  • icon google plus
  • icon youtube
  • icon twitter
  • icon linkedin

This is a question I have been fielding a lot lately. The most common scenario was that you were sitting at home, visited your trusty website that has been acting fine for the last two years, and all of a sudden it's broken! It may be that the reason you are seeing this error message is because your host has upgraded your account to include the latest version of PHP. In the release of PHP v5.3 many of the functions that have been slowly dying out have finally been deprecated and replaced with others and are not backwards compatible. Most certainly, if you are running Joomla 1.0 you are likely to get quite a lot of this. There are also quite a few Joomla extensions (plugin, components, and modules) that will be affected as well.

 

The one I seem to see most often as of late is the split() function. If you see the following message:

Deprecated: Function split() is deprecated in /home/xx/xx/xxxxxx.php on line 60

This means that split is no longer being used and will need to be replaced with a function that is.

If you know a little about PHP you can do one of two things:

1) Replace the split() function with the new function preg_split. Be careful though, the expression following will need to be correctly formatted for this to work.

2) Replace the split() function with explode(). This is probably the easiest of the two methods and tends to work just fine as a replacement.

If you don't know an expression from a hole in the ground I would recommend getting a developer to give you a hand.
  
 
Update, upgrade and be happy...
 
As I stated before, most of these errors can be avoided all-together if you keep the latest version of Joomla on your site as well as keeping your extensions updated.
 

But don’t just take our word...

I cannot express how pleased I am with this company, their services and quality of work. They finished my project in record time and were in direct communication with me the entire time. I've already emailed them asking to send me an entire list of their services! Will definitely use them again when I can. Fantastic experience. Wish every company was like this! 5 STARS!

Creek Stewart
Survival Instructor /Author/TV Personality

What Can We Do For You?

We’d love to talk to you about your website ideas and work with you to achieve your goals. Whether you know exactly what you need or have absolutely no idea where to start....