: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Content;
use Nextend\Framework\Controller\Admin\AdminAjaxController;
use Nextend\Framework\Request\Request;
class ControllerAjaxContent extends AdminAjaxController {
public function actionSearchLink() {
$keyword = Request::$REQUEST->getVar('keyword', '');
$this->response->respond(Content::searchLink($keyword));
public function actionSearchContent() {
$keyword = Request::$REQUEST->getVar('keyword', '');
$this->response->respond(Content::searchContent($keyword));