We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36551
    • 416 Posts
    Working on evolution 1.0.5 with fresh maxigallery download and I'm getting this error:Error: Function split() is deprecated. I realize is a php 5.3 problem, but I can't find any posts with an answer for maxigallery.

    The sticky topic has a link for this but it's not working. It seems none of them are.

    I'm trying to get to some answers referenced on this page: http://forums.modx.com/thread/?thread=50118&page=1 I'm searching for an answer to this linked item: Error: Function split() is deprecated which takes to this page: http://modxcms.com/forums/index.php/topic,44676.0.html

    Are these post no longer available? How does one get to these answers? I posted this in the forum forum. mrhaw was unable to help me get to the post I'm trying to find.

    Is there a patch or fix for this?

    Any help?
      • 16278
      • 928 Posts
      I don't know how you'd find the original post in question, but on the second page of the thread referencing it there's post giving a specific location to fix the deprecated split() function:
      doze Reply #18, 2 years ago
      Yea, I guess you are using php 5.3.0 or later.. split function is deprecated in it.

      You can replace that split() function by explode() in this case though. (In C:\xampp\htdocs\liss\assets\snippets\maxigallery\maxigallery.class.inc.php on line 242)

      ;) KP
        • 36551
        • 416 Posts
        KP52

        I did see that but I wasn't sure if it was a complete fix and didn't want to muck up maxigallery.

        If that's all there is to it. I'll give it shot.

        Thank you!