Jump to content

Store Pick Up Module - Depreciated: Function Split on line 65?

Recommended Posts

Hi everyone,


I've searched and searched the forum, but it seems no one has had this problem.


I'm using the Store Pick Up Module (spu [http://addons.oscommerce.com/info/164]) and everything is running smoothly, however, I noticed that at the very top of my page, I receive the following error message:

Deprecated: Function split() is deprecated in /homepages/27/d197332112/htdocs/test/catalog/includes/modules/shipping/spu.php on line 65


I'm not quite sure what to do. It seems line 65 is...

$dept_allow = split("[, ]", $codep['configuration_value']);

...which refers to??


Additionally, I should mention that I attempted to use Multipickup (http://addons.oscommerce.com/info/8418) but it didn't seem to be compatable with my version?? So I used my backup files and deleted it. Could this have something to do with it? If so, what should I do?


I should also mention, that as per this post, I also had that need, and edited as according to the last poster. Perhaps their code was the issue? I doubt it because it is in a different file, but just in case.


Thanks in advance.


Share this post

Link to post
Share on other sites




$dept_allow = preg_split("/[, ]/", $codep['configuration_value']);





:|: Was this post helpful ? Click the LIKE THIS button :|:


See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post

Link to post
Share on other sites



It seems you downloaded an old version of the module. You should use the newest Version 1.7. The code is already updated there.




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now