After enabling the beautytips_ui module, the follow error was caught on the watchdog log and I got a WSOD (white screen of death) - "The website encountered an unexpected error. Please try again later.":

Error: Call to undefined function module_exists() in beautytips_drupal_help_theme_change() (line 57 of /var/www/path-to-composer-drupal/web/modules/contrib/beautytips/includes/drupal_help.inc) #0 /

It seems that the function module_exists() is depreciated in Drupal 8.

CommentFileSizeAuthor
#5 2961201-5.patch1.7 KBrajeshwari10

Comments

metakel created an issue. See original summary.

metakel’s picture

Issue summary: View changes
metakel’s picture

Issue summary: View changes
rajeshwari10’s picture

Assigned: Unassigned » rajeshwari10
rajeshwari10’s picture

Assigned: rajeshwari10 » Unassigned
Status: Active » Needs review
StatusFileSize
new1.7 KB

Replaced the deprecated module_exist function. Please Review the patch.

Thanks!!

  • pifagor committed 140ff52 on 8.x-1.x authored by rajeshwari10
    Issue #2961201 by rajeshwari10, pifagor: module_exists() is depreciated
    
pifagor’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.