- 🇮🇳India bhanu951
Encountered this issue on 9.5.x, for anyone who encountered this check if you have any node with content type as mentioned in below referenced comment.
https://www.drupal.org/forum/support/post-installation/2018-06-22/gettin... →
i'm creating a node in D8, then i try to point SimpleTest to it.
$this->user = $this->drupalCreateUser(array('access content'));
$this->drupalLogin($this->user);
$title = "test page";
$settings = array(
'type' => 'page',
'promote' => 1,
);
$settings['body'] = array(
'value' => 'Ono is a cable firm. Telefonica is a phone firm. Vodafone also is a phone firm.',
'format' => 'filtered_html',
);
$node = $this->drupalCreateNode($settings);
$this->test_nid = $node->id();
$this->drupalGet("node/" . $this->test_nid);
$this->assertResponse(200);
SimpleTest gets this error when viewing the node:
Fatal error: Call to a member function displaySubmitted() on null in /home/leandro/public_html/drupal8.dev/core/modules/node/node.module on line 606
am i doing something wrong or is this a bug?
Fixed
8.3 ⚰️
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Encountered this issue on 9.5.x, for anyone who encountered this check if you have any node with content type as mentioned in below referenced comment.
https://www.drupal.org/forum/support/post-installation/2018-06-22/gettin... →