Error Cannot read properties of null (reading ‘replace’)

I’m always getting the error : Cannot read properties of null (reading ‘replace) in the chatbots section of my dashboard. On page, the chatbot is just disappearing when trying to ask for something. On my logs, I have :

2023-05-19T14:09:28+00:00 CRITICAL syntax error, unexpected ‘int’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) dans /home/ à la ligne 4


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer