Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4953

Sentry\Exception\FatalErrorExceptionError: Uncaught TypeError: Return value of P4_User::name() must be of the type string...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Released
    • Icon: Should have Should have
    • 2.29
    • 2
    • Code Refactoring, Search, Technical Debt
    • Sprint #130
    • venus

      Sentry Issue: PLANET4-D0

      Sentry\Exception\FatalErrorException
      Error: Uncaught TypeError: Return value of P4_User::name() must be of the type string, null returned in /app/source/public/wp-content/themes/planet4-master-theme/classes/class-p4-user.php:76
      Stack trace:
      #0 /app/source/public/wp-content/plugins/timber-library/lib/User.php(154): P4_User->name()
      #1 /app/source/public/wp-content/plugins/timber-library/lib/User.php(82): Timber\User->init(56)
      #2 /app/source/public/wp-content/themes/planet4-master-theme/classes/class-p4-user.php(34): Timber\User->__construct(56)
      #3 /app/source/public/wp-content/themes/planet4-master-theme/classes/class-p4-post.php(396): P4_User->__construct(56)
      #4 /app/source/public/wp-content/themes/planet4-master-theme/classes/class-p4-post.php(61): P4_Post->set_author()
      #5 /app/source/public/wp-content/plugins/timber-library/lib/QueryIterator.php(132): P4_Post->__construct(Object(WP_Post))
      #6 /app/source/public/wp-content/plugins/timber-library/lib/PostGetter.php(62): Timber\QueryIterator->current()
      #7 /app/source/public/wp-content/plugins/timber-libra
      

            sdeshmuk Sagar Deshmukh
            sdeshmuk Sagar Deshmukh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: