Error message
Warning: Undefined array key 0 in amp_entity_view_alter() (line 156 of modules/contrib/amp/amp.module).amp_entity_view_alter(Array, Object, Object) (Line: 545) Drupal\Core\Extension\ModuleHandler->alter('node_view', Array, Object, Object) (Line: 304) Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 238) Drupal\Core\Entity\EntityViewBuilder->build(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 377) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 583) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 187) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 18)
Monero (XMR) Coinhive Website Miner to Cease Operations over Upcoming XMR Hard Fork
Coinhive, a mining service that mints Monero using browsers, reported the other day that it is about to give up operations due to the fact that further work seems no longer profitable. The company plans to stop working completely on March 8. This was written in a blog post the other day.
Why shut down?
In the blog post, the team gave three main reasons for their decision. Number one is the drop in Monero hashrate by 50 percent after the recent hard fork took place. The second one is the collapse of the crypto market last year and XMR dropping by around 85 percent of its value.
The last reason is the upcoming Monero hard fork that is to take place on March 9 at block height 1788000. Apart from Coinhive in particular, the approaching XMR hard fork will make mining difficult for all ASIC users.
How Coinhive works
Coinhive allows embedding a JavaScript code into a website owned by a user, so that its guests start mining XMR through their browsers, utilizing their computing power in return for ad-free work or any other incentives.
Hackers have attempted to take advantage of this mining code as well for cryptojacking. However, the way it works can be different depending on a particular website.
The service will cease working on March 8. Still, Coinhive will enable its users to have access to their dashboards until the end of April.
Mining industry is suffering globally
After the market setback last year, corporate and retail crypto miners have been making huge losses all over the world. Many are leaving the business and selling their gear as scrap metal.
As for Coinhive in particular, the question remains whether the code for XMR mining will stay on the websites whose owners have installed it.
In a situation almost similar to that, just as early as January 2019, Microsoft took down almost ten Windows 10 apps from its app store after spotting XMR mining code in them.