Good news, I was able to fix it. I updated the line of the error as following
Change:
if ( false === strpos( $content, ‘[‘ ) ) {
To:
if ( false === strpos( (string) $content, ‘[‘ ) ) {
Now if you could let me know how to update the theme without losing my settings, that would be great 🙂