bkpphtpf@md-in-12 [~/public_html/bpa]# drush cache-rebuild
Drush command terminated abnormally due to an unrecoverable error.                                                                                           [error]
Error: Declaration of Drupal\visitors\Form\Settings::buildForm() must be compatible with Drupal\Core\Form\FormInterface::buildForm(array $form,
Drupal\Core\Form\FormStateInterface $form_state) in /home/bkpphtpf/public_html/bpa/modules/visitors/src/Form/Settings.php, line 233

Comments

earimon created an issue. See original summary.

earimon’s picture

Hi,

I have done some modifications and able to complete cache rebuild.

use Drupal\Core\Form\FormStateInterface;
buildForm(array $form, FormStateInterface $form_state)
public function submitForm(array &$form, FormStateInterface $form_state)

and then added implemented abstract function

public function getEditableConfigNames(){
    
  }
Pierre.Vriens’s picture

Title: Error on visitir module when tried to Cache Rebuild error » Error when trying to Cache Rebuild error
Status: Active » Postponed
Related issues: +#2599042: Make D8 release of Visitors work again

Before it makes sense to try to move on with this issue, we need to get the "related issue" resolved first.

Extra question though: did you NOT suffer the problems mentioned in that related issue when trying to install this module in D8?

bluegeek9’s picture

Status: Postponed » Closed (outdated)

In 2.7 this is not an issue.