We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36021
    • 4 Posts
    Hi All,

    My website guy has got religion and I have found myself trying to manage my own site so I’m on a steep learning curve with ModX. Not sure if I’m on the right page but I have this problem trying to upload photos in Maxigallery. Could anyone point me in a direction to solving this?
    Cheers in Advance grin
    Rod
    ----------------------------------------------------------------------------------------------------------
    « 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: /home/intowine/public_html/assets/snippets/maxigallery/maxigallery.class.inc.php
    Line: 242
    Line 242 source: $sizes = split(’x’, $max_thumb_size);

    Parser timing
    MySQL: 0.0147 s (9 Requests)
    PHP: 0.7841 s
    Total: 0.7988 s
    ----------------------------------------------------------------------------------------------------------
      • 4172
      • 5,888 Posts
      you can try to replace that line with:

      $sizes = explode('x', $max_thumb_size);  
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 36021
        • 4 Posts
        Cheers again Bruno - my first code change - whoohah! - ps worked a treat