We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27003
    • 24 Posts
    I’m using Maxigallery with Evolution 1.0 and have encountered a problem on my local server when attempting to add inages to the gallery which I haven’t seen in previous work with Modx and Maxigallery.

    Does anyone have any advice?

    thanks
    Jim

    « 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: 	F:\Epiphany_CMS\assets\snippets\maxigallery\maxigallery.class.inc.php	 
      Line: 	242	 
      Line 242 source: 	$sizes = split('x', $max_thumb_size); 

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That depends on the version of PHP you are using locally.

      http://php.net/manual/en/function.split.php
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 27003
        • 24 Posts
        Thanks, Susan

        preg_split() didn’t work in this instance but explode() did.

        Jim