drupal - Hide error: The website encountered an unexpected error. Please try again later -
i got message time in bottom left of browser, site full working. bit annoying user. have tried hide using css seems impossible.
do guys know how hide error message? error logs file:
error: call member function getplugins() on null in drupal\feeds\entity\feed->presave() (line 443 of /var/www/html/modules/contrib/feeds/src/entity/feed.php) #0 /var/www/html/core/lib/drupal/core/entity/entitystoragebase.php(434): drupal\feeds\entity\feed->presave(object(drupal\feeds\feedstorage)) #1 /var/www/html/core/lib/drupal/core/entity/contententitystoragebase.php(298): drupal\core\entity\entitystoragebase->dopresave(object(drupal\feeds\entity\feed)) #2 /var/www/html/core/lib/drupal/core/entity/entitystoragebase.php(389): drupal\core\entity\contententitystoragebase->dopresave(object(drupal\feeds\entity\feed)) #3 /var/www/html/core/lib/drupal/core/entity/sql/sqlcontententitystorage.php(761): drupal\core\entity\entitystoragebase->save(object(drupal\feeds\entity\feed)) #4 /var/www/html/core/lib/drupal/core/entity/entity.php(364): drupal\core\entity\sql\sqlcontententitystorage->save(object(drupal\feeds\entity\feed)) #5 /var/www/html/modules/contrib/feeds/feeds.module(46): drupal\core\entity\entity->save() #6 [internal function]: feeds_cron() #7 /var/www/html/core/lib/drupal/core/extension/modulehandler.php(391): call_user_func_array('feeds_cron', array) #8 /var/www/html/core/lib/drupal/core/cron.php(223): drupal\core\extension\modulehandler->invoke('feeds', 'cron') #9 /var/www/html/core/lib/drupal/core/cron.php(122): drupal\core\cron->invokecronhandlers() #10 /var/www/html/core/lib/drupal/core/proxyclass/cron.php(75): drupal\core\cron->run() #11 /var/www/html/core/modules/automated_cron/src/eventsubscriber/automatedcron.php(65): drupal\core\proxyclass\cron->run() #12 /var/www/html/core/lib/drupal/component/eventdispatcher/containerawareeventdispatcher.php(111): drupal\automated_cron\eventsubscriber\automatedcron->onterminate(object(symfony\component\httpkernel\event\postresponseevent), 'kernel.terminat...', object(drupal\component\eventdispatcher\containerawareeventdispatcher)) #13 /var/www/vendor/symfony/http-kernel/httpkernel.php(84): drupal\component\eventdispatcher\containerawareeventdispatcher->dispatch('kernel.terminat...', object(symfony\component\httpkernel\event\postresponseevent)) #14 /var/www/vendor/stack/builder/src/stack/stackedhttpkernel.php(32): symfony\component\httpkernel\httpkernel->terminate(object(symfony\component\httpfoundation\request), object(drupal\core\render\htmlresponse)) #15 /var/www/html/core/lib/drupal/core/drupalkernel.php(634): stack\stackedhttpkernel->terminate(object(symfony\component\httpfoundation\request), object(drupal\core\render\htmlresponse)) #16 /var/www/html/index.php(22): drupal\core\drupalkernel->terminate(object(symfony\component\httpfoundation\request), object(drupal\core\render\htmlresponse)) #17 {main}.
this seems general error , fix should try debug/trace issue code. got question want remove error , make appearing users, if on production environment should disable error reporting front-end, can done in d8 going admin/config/development/logging , select "error messages display" , save configuration. after can debug , trace error.
i hope helps you.
Comments
Post a Comment