Jump to content

[4.7.18] Class must be declared abstract or implement method 'recount'


teraßyte

Recommended Posts

I've seen this error in my IDE for a while now but forgot to report it earlier. It is caused by the newly added \IPS\Node\DelayedCount trait.

 

I see this error even in several classes, even inside Application.php for applications that don't implement the trait. 🤷‍♂️

When I tell the IDE to fix the issue automatically this function gets added to the file (Application.php in this case):

	/**
	 * Count all comments, items, etc
	 *
	 * @return mixed
	 */
	protected function recount()
	{
		// TODO: Implement recount() method.
	}

I have no comments, items, or anything else that needs recounting in this specific application or others, though.

Link to comment
Share on other sites

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...