We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11521
    • 7 Posts
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Function split() is deprecated
    Error type/ Nr.: - 8192
    File: G:\HOST\modx104.host\public_html\assets\snippets\maxigallery\maxigallery.class.inc.php
    Line: 242
    Line 242 source: $sizes = split(’x’, $max_thumb_size);

    Parser timing
    MySQL: 0.0128 s (1 Requests)
    PHP: 0.0519 s
    Total: 0.0647 s


    i get this error when i try to do the example like in wiki
    Creating your first gallery

    1. Create a container in MODx with page title My Galleries
    2. Check Published on the Page Settings tab
    3. Put the snippet call [!MaxiGallery? &display=`childgalleries`!] in the document content area and save the document
    4. Create a new document in the folder with page title Gallery 1
    5. Check Published on the Page Settings tab
    6. Put the snippet call [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`!] (or another call) in the document content area and save the document
    7. Repeat steps 4-6 for as many galleries as you need
    8. Go to the created Gallery 1-x documents and upload photos for that gallery using Manage pictures button. (Must be logged in as Manager to see the button, or logged in at frontend with webuser/webgroup that has rights to manage the gallery)
    9. (You may have to logout from the manager in order to see working embedded - slidebox or lightbox - galleries.)


    i use
    modx 1.0.4
    and PHP5.3



    can anybody tell how to fix this?
    thx.....
      • 7923
      • 4,213 Posts
      See the sticky information topic


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."