I recently moved my site from AWS to a small orange VPS hosting, and in the new hosting environment, I'm getting this error on my gallery page (http://22.214.171.124/gallery/) when debug mode is turned on:
Warning: preg_replace_callback(): Compilation failed: missing ) at offset 170 in /home/folsomst/public_html/wp-content/plugins/jetpack/modules/latex.php on line 32
When the plugin is activated and debug mode is not on, the gallery content portion of the page is simply blank (though headers, footers, and sidebars load properly).
The only module I really need/use in Jetpack is tiled galleries. I've deactivated the plugin for now, because it breaks the site, and the gallery is showing as usual (default ugly, but functional).
I've connected Jetpack and am running the most recent version. Tried turning it off and back on again already.
I suspect there's a php setting that could fix this (because the exact same page renders fine on the old server), but I don't know where to begin. the latex.php file mentioned looks like the syntax is fine, despite the error.