Error message
User deprecated function: Theme functions are deprecated in drupal:8.0.0 and are removed from drupal:10.0.0. Use Twig templates instead of theme_fivestar_preview(). See https://www.drupal.org/node/1831138 in Drupal\Core\Theme\Registry->processExtension() (line 517 of core/lib/Drupal/Core/Theme/Registry.php).
Drupal\Core\Theme\Registry->processExtension(Array, 'fivestar', 'module', 'fivestar', 'modules/contrib/fivestar') (Line: 360) Drupal\Core\Theme\Registry->Drupal\Core\Theme\{closure}(Object, 'fivestar') (Line: 405) Drupal\Core\Extension\ModuleHandler->invokeAllWith('theme', Object) (Line: 361) Drupal\Core\Theme\Registry->build() (Line: 259) Drupal\Core\Theme\Registry->get() (Line: 88) Drupal\Core\Utility\ThemeRegistry->initializeRegistry() (Line: 69) Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:tellychakkar', Object, Object, Array, 1) (Line: 279) Drupal\Core\Theme\Registry->getRuntime() (Line: 194) Drupal\Core\Entity\EntityViewBuilder->getBuildDefaults(Object, 'teaser') (Line: 61) Drupal\node\NodeViewBuilder->getBuildDefaults(Object, 'teaser') (Line: 157) Drupal\Core\Entity\EntityViewBuilder->viewMultiple(Array, 'teaser', 'en') (Line: 123) Drupal\Core\Entity\EntityViewBuilder->view(Object, 'teaser', 'en') (Line: 270) Drupal\panelizer\PanelizerEntityViewBuilder->view(Object, 'teaser', 'en') (Line: 89) Drupal\views\Entity\Render\TranslationLanguageRenderer->preRender(Array) (Line: 221) Drupal\views\Plugin\views\row\EntityRow->preRender(Array) (Line: 444) Drupal\views\Plugin\views\style\StylePluginBase->preRender(Array) (Line: 1513) Drupal\views\ViewExecutable->render() (Line: 199) Drupal\views\Plugin\views\display\Page->execute() (Line: 1635) Drupal\views\ViewExecutable->executeDisplay('page_1', Array) (Line: 81) Drupal\views\Element\View::preRenderViewElement(Array) call_user_func_array(Array, Array) (Line: 101) 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: 374) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204) Drupal\Core\Render\Renderer->render(Array, ) (Line: 242) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132) 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: 142) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81) 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)