After updating my Joomla site from version 3.9 to 3.10, everything is working except the responsivizer component where I am getting this error in the backend:
Call to a member function setState() on bool
I enabled debug mode and found that error is happening in this line of setstate:
F:\www\4nov\administrator\components\com_responsivizer\controllers\cpanel.php:27
My PHP version is 7.4 before and after upgrading.
I checked on PHP 7.4 in Joomla 3.9.x with a backup and there was no error.
It seems that the issue is exclusive to Joomla 3.10.
function display($cachable = false, $urlparams = false) {
$defaultModel = $this->getModel();
$defaultModel->setState('option', $this->option);
// Dependency injection setter on view/model for ResponsivizerRegistry instance
$view = $this->getView();
$registry = new ResponsivizerRegistry();
$view->set('registry', $registry);
$HTTPClient = new ResponsivizerHttp();
$view->set('httpclient', $HTTPClient);
// No operations
parent::display ($cachable);
}