PHP Fatal error | includes/theme.inc:277

Created on 7 December 2023, about 1 year ago
Updated 6 May 2024, 8 months ago

PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, no array or string given in /docroot/includes/theme.inc:277

Using PHP 8.1 and drupal 7.98

💬 Support request
Status

Postponed: needs info

Version

7.0 ⚰️

Component
Theme 

Last updated about 1 hour ago

Created by

🇮🇳India arif.zisu Kolkata

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

  • Issue created by @arif.zisu
  • Status changed to Postponed: needs info about 1 year ago
  • 🇸🇰Slovakia poker10

    Can you please provide steps to reproduce this on clean Drupal 7 installation? I think this could be caused by some code/contrib module/theme which changed the default theme registry callback.

    Or if possible, can you verify what the _theme_registry_callback(); function returns? Thanks.

  • I got thos Error too

    plz help

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, no array or string given in /home1/alhaida1/public_html/includes/theme.inc:277 Stack trace: #0 /home1/alhaida1/public_html/includes/theme.inc(1020): theme_get_registry(false) #1 /home1/alhaida1/public_html/includes/errors.inc(252): theme('maintenance_pag...', Array) #2 /home1/alhaida1/public_html/includes/bootstrap.inc(2690): _drupal_log_error(Array, true) #3 [internal function]: _drupal_exception_handler(Object(ParseError)) #4 {main} thrown in /home1/alhaida1/public_html/includes/theme.inc on line 277

Production build 0.71.5 2024