PHP Fatal error: Class name must be a valid object or a string in drupal-7.14/includes/common.inc on line 7680

Created on 1 July 2012, over 12 years ago
Updated 29 August 2023, about 1 year ago

I have had this showstopper bug. I am not sure if this is an entity issue or a core issue.

There are modules which do not populate all elements of entity_load.

I think that this contributes to the fatal error but I am not sure.

I did a print backtrace on the error. The issue for me is that it is not just one module, a few don't define it.

Array
(
    [0] => Array
        (
            [file] => /var/aegir/platforms/7/servers/drupal-7.14/includes/common.inc
            [line] => 7633
            [function] => entity_get_controller
            [args] => Array
                (
                    [0] => user
                )

        )

    [1] => Array
        (
            [file] => /var/aegir/platforms/7/servers/drupal-7.14/modules/user/user.module
            [line] => 287
            [function] => entity_load
            [args] => Array
                (
                    [0] => user
                    [1] => Array
                        (
                            [0] => 0
                        )

                    [2] => Array
                        (
                        )

                    [3] => 
                )

        )

    [2] => Array
        (
            [file] => /var/aegir/platforms/7/servers/drupal-7.14/modules/user/user.module
            [line] => 362
            [function] => user_load_multiple
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => 0
                        )

                    [1] => Array
                        (
                        )

                    [2] => 
                )

        )

    [3] => Array
        (
            [file] => /usr/share/php/drush/includes/drupal.inc
            [line] => 138
            [function] => user_load
            [args] => Array
                (
                    [0] => 0
                )

        )

    [4] => Array
        (
            [file] => /usr/share/php/drush/includes/bootstrap.inc
            [line] => 945
            [function] => drush_drupal_login
            [args] => Array
                (
                    [0] => 0
                )

        )

    [5] => Array
        (
            [file] => /usr/share/php/drush/includes/bootstrap.inc
            [line] => 185
            [function] => _drush_bootstrap_drupal_login
            [args] => Array
                (
                )

        )

    [6] => Array
        (
            [file] => /usr/share/php/drush/includes/bootstrap.inc
            [line] => 345
            [function] => drush_bootstrap
            [args] => Array
                (
                    [0] => 6
                    [1] => 7
                )

        )

    [7] => Array
        (
            [file] => /usr/share/php/drush/includes/bootstrap.inc
            [line] => 291
            [function] => drush_bootstrap_max
            [args] => Array
                (
                )

        )

    [8] => Array
        (
            [file] => /usr/share/php/drush/drush.php
            [line] => 79
            [function] => drush_bootstrap_to_phase
            [args] => Array
                (
                    [0] => -2
                )

        )

    [9] => Array
        (
            [file] => /usr/share/php/drush/drush.php
            [line] => 59
            [function] => _drush_bootstrap_and_dispatch
            [args] => Array
                (
                )

        )

    [10] => Array
        (
            [file] => /usr/share/php/drush/drush.php
            [line] => 14
            [function] => drush_main
            [args] => Array
                (
                )

        )

)
πŸ› Bug report
Status

RTBC

Version

1.0

Component

Core integration

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024