Hi,

after enabling FullCalender Module I get a WSD:

[Tue Jan 31 07:51:58.624894 2017] [:error] [pid 3277] [client 10.0.10.2:51591] TypeError: Argument 1 passed to Drupal\\Core\\ProxyClass\\Render\\BareHtmlPageRenderer::renderBarePage() must be of the type array, boolean given, called in /core/modules/system/src/Controller/DbUpdateController.php on line 196 in /core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php on line 73 #0 /core/modules/system/src/Controller/DbUpdateController.php(196): Drupal\\Core\\ProxyClass\\Render\\BareHtmlPageRenderer->renderBarePage(false, Object(Drupal\\Core\\StringTranslation\\TranslatableMarkup), 'maintenance_pag...', Array)\n#1 [internal function]: Drupal\\system\\Controller\\DbUpdateController->handle('system', Object(Symfony\\Component\\HttpFoundation\\Request))\n#2 /core/lib/Drupal/Core/Update/UpdateKernel.php(110): call_user_func_array(Array, Array)\n#3 /core/lib/Drupal/Core/Update/UpdateKernel.php(73): Drupal\\Core\\Update\\UpdateKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request))\n#4 /update.php(19): Drupal\\Core\\Update\\UpdateKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#5 {main}
[Tue Jan 31 09:35:04.369258 2017] [:error] [pid 3276] [client 11.11.11.11:13131] PHP Fatal error: Cannot use Drupal\\Component\\Utility\\String as String because 'String' is a special class name in /modules/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8, referer: https://..server../admin/modules
[Tue Jan 31 09:39:00.727123 2017] [:error] [pid 3381] [client 11.11.11.11:13131] PHP Fatal error: Cannot use Drupal\\Component\\Utility\\String as String because 'String' is a special class name in /modules/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8, referer: https://..server../admin/modules
[Tue Jan 31 09:39:06.981176 2017] [:error] [pid 3573] [client 11.11.11.11:13131] PHP Fatal error: Cannot use Drupal\\Component\\Utility\\String as String because 'String' is a special class name in /modules/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8
[Tue Jan 31 09:39:20.350213 2017] [:error] [pid 3276] [client 11.11.11.11:13131] PHP Fatal error: Cannot use Drupal\\Component\\Utility\\String as String because 'String' is a special class name in /modules/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8, referer: https://..server../admin/structure/views/view/v_ds_unt_due_by_cal
[Tue Jan 31 09:39:27.417592 2017] [:error] [pid 3575] [client 11.11.11.11:13131] PHP Fatal error: Cannot use Drupal\\Component\\Utility\\String as String because 'String' is a special class name in /modules/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8, referer: https://..server../admin/structure/views/view/v_ds_unt_due_by_cal

CommentFileSizeAuthor
#5 white_screen_of_death-2848422-5.patch789 bytespslcbs

Comments

maxilein created an issue. See original summary.

maxilein’s picture

It is only when enabling the Legend module.

Delphine Lepers’s picture

Component: Code » FullCalendar Legend
bygeoffthompson’s picture

Similar but not identical:

After installing FullCalendar, FullCalendar Legend, and FullCalendar Options I received a WSOD and saw the following error:

`Fatal error: Cannot use Drupal\Component\Utility\String as String because 'String' is a special class name in /var/www/publicpower/web/modules/contrib/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8`

Uninstalling the FullCalendar Legend module allowed me to move forward.

pslcbs’s picture

Status: Active » Needs review
StatusFileSize
new789 bytes

Hi,
I reproduced the error on Comment #4 and I found that
it seems Drupal\Component\Utility\String is not longer available and we can use Drupal\Component\Utility\Html instead.
Edit: More info here

Adding the patch the Fatal error:

Cannot use Drupal\Component\Utility\String as String because 'String' is a special class name in /var/www/publicpower/web/modules/contrib/fullcalendar/fullcalendar_legend/fullcalendar_legend.theme.inc on line 8

is not displayed anymore.

  • dakala committed 1576f11 on 8.x-1.x authored by pslcbs
    Issue #2848422 by pslcbs: White Screen of Death (WSD)
    

dakala credited dakala.

dakala’s picture

Assigned: Unassigned » dakala
Status: Needs review » Fixed

Thanks for reporting and patch.

Status: Fixed » Closed (fixed)

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