Cannot use output buffering in output buffering display handlers

I just migrated my site to an OpenLightspeed server and I’m getting this error when I try to run wp-cli. Has anyone else run into this?

PHP Fatal error: LiteSpeed\Control::finalize(): Cannot use output buffering in output buffering display handlers in /home/webapp/wp-content/themes/bricks/includes/elements/list.php on line 745
Fatal error: LiteSpeed\Control::finalize(): Cannot use output buffering in output buffering display handlers in /home/webapp/wp-content/themes/bricks/includes/elements/list.php on line 745