Warning: Object of class WP_Term could not be converted to int in /data/websites/htmlit/web/wp/wp-includes/taxonomy.php on line 1116

Warning: Attempt to read property "parent" on bool in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/CategoriesPrimary.php on line 49

Warning: Attempt to read property "name" on bool in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/Categories.php on line 19

Warning: Attempt to read property "term_id" on bool in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/Categories.php on line 19

Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php:56 Stack trace: #0 [internal function]: HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->HTML\ViewModel\Post\Components\{closure}() #1 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(58): array_map() #2 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(32): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getBreadcrumbItems() #3 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(91): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getData() #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(35): HTML\ViewModel\Single->setComponents() #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleSoftware.php(12): HTML\ViewModel\Single->__construct() #6 /data/websites/htmlit/web/app/themes/htmlit/single-software.php(12): HTML\ViewModel\SingleSoftware->__construct() #7 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...') #8 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...') #9 /data/websites/htmlit/web/index.php(5): require('...') #10 {main} thrown in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php on line 56
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Uncaught Error: Object of class WP_Error could not be converted to string in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php:56 Stack trace: #0 [internal function]: HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->HTML\ViewModel\Post\Components\{closure}() #1 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(58): array_map() #2 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(32): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getBreadcrumbItems() #3 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(91): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getData() #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(35): HTML\ViewModel\Single->setComponents() #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleSoftware.php(12): HTML\ViewModel\Single->__construct() #6 /data/websites/htmlit/web/app/themes/htmlit/single-software.php(12): HTML\ViewModel\SingleSoftware->__construct() #7 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...') #8 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...') #9 /data/websites/htmlit/web/index.php(5): require('...') #10 {main} thrown Whoops\Exception\ErrorException thrown with message "Uncaught Error: Object of class WP_Error could not be converted to string in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php:56 Stack trace: #0 [internal function]: HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->HTML\ViewModel\Post\Components\{closure}() #1 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(58): array_map() #2 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(32): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getBreadcrumbItems() #3 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(91): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getData() #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(35): HTML\ViewModel\Single->setComponents() #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleSoftware.php(12): HTML\ViewModel\Single->__construct() #6 /data/websites/htmlit/web/app/themes/htmlit/single-software.php(12): HTML\ViewModel\SingleSoftware->__construct() #7 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...') #8 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...') #9 /data/websites/htmlit/web/index.php(5): require('...') #10 {main} thrown" Stacktrace: #2 Whoops\Exception\ErrorException in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php:56 #1 Whoops\Run:handleError in /data/websites/htmlit/vendor/filp/whoops/src/Whoops/Run.php:514 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php56
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php514
0
Whoops\Run handleShutdown
[internal]0
/data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php
            "itemListElement" => $breadcrumbItems
        ];
        return (object) [
            'name' => $this->name,
            'data' => json_encode($structuredData, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)
        ];
    }
 
    /**
     * Recupera gli elementi del breadcrumb
     */
    private function getBreadcrumbItems(): array {
        if (empty($this->data)) return [];
 
        return array_map(function ($item, $index) {
            return [
                '@type'    => 'ListItem',
                'position' => $index + 1,
                'name'     => $item['label'], // Uso 'label' invece di 'name'
                'item'     => home_url() . $item['url'] ?? null
            ];
        }, $this->data, array_keys($this->data));
    }
}
Arguments
  1. """
    Uncaught Error: Object of class WP_Error could not be converted to string in /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php:56\n
    Stack trace:\n
    #0 [internal function]: HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->HTML\ViewModel\Post\Components\{closure}()\n
    #1 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(58): array_map()\n
    #2 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Components/StructuredDataBreadcrumbs.php(32): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getBreadcrumbItems()\n
    #3 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(91): HTML\ViewModel\Post\Components\StructuredDataBreadcrumbs->getData()\n
    #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(35): HTML\ViewModel\Single->setComponents()\n
    #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleSoftware.php(12): HTML\ViewModel\Single->__construct()\n
    #6 /data/websites/htmlit/web/app/themes/htmlit/single-software.php(12): HTML\ViewModel\SingleSoftware->__construct()\n
    #7 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...')\n
    #8 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...')\n
    #9 /data/websites/htmlit/web/index.php(5): require('...')\n
    #10 {main}\n
      thrown
    """
    
/data/websites/htmlit/vendor/filp/whoops/src/Whoops/Run.php
     *
     * @return void
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
 
    /**
     * @param InspectorFactoryInterface $factory
     *
     * @return void
     */
    public function setInspectorFactory(InspectorFactoryInterface $factory)
    {
        $this->inspectorFactory = $factory;
    }
 
    public function addFrameFilter($filterCallback)
    {
        if (!is_callable($filterCallback)) {
            throw new \InvalidArgumentException(sprintf(
                "A frame filter must be of type callable, %s type given.", 
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.26.2"
REQUEST_URI
"/software/honeywell-home/"
USER
"nginx"
HOME
"/var/lib/nginx"
HTTP_REFERER
"https://download.staging.html.it/software/honeywell-home"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_FOR
"216.73.216.144"
HTTP_HOST
"download.staging.html.it"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
REDIRECT_STATUS
"200"
SERVER_NAME
"download.staging.html.it"
SERVER_PORT
"443"
SERVER_ADDR
"10.50.50.197"
REMOTE_PORT
"40180"
REMOTE_ADDR
"10.50.50.12"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.0"
DOCUMENT_ROOT
"/data/websites/htmlit/web"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_FILENAME
"/data/websites/htmlit/web/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1748461180.3874
REQUEST_TIME
1748461180
DB_NAME
"htmlit"
DB_USER
"htmlitUSR"
DB_PASSWORD
"Html.IT.P4ss"
DB_HOST
"localhost"
DB_PREFIX
"wp_html_"
WP_REDIS_HOST
"10.50.50.20"
WP_REDIS_PASSWORD
"Bl4z3M3d14"
WP_REDIS_PORT
"6379"
WP_REDIS_TIMEOUT
"1"
WP_REDIS_READ_TIMEOUT
"1"
WP_REDIS_DATABASE
"4"
WP_ENV
"staging"
WP_HOME
"https://staging.html.it"
WP_SITEURL
"https://staging.html.it/wp"
WP_POST_REVISIONS
"0"
WP_DEBUG
"true"
AUTH_KEY
"u6._>z_ninMX;2(@or{76a|&h}60<.O9ct1vb/k873R],pN{!PcJ;8,uJz}^^@,["
SECURE_AUTH_KEY
"gq2=@KGv2dNdCa9Y,O<IapD]qg1c],EweAhkRHz[qy#ADV,4</=yG;:_ED0SF&p^"
LOGGED_IN_KEY
");RTvb(qm&^NzW=V9&`_dry7YP]s{w<M-45>?!s_sPLgN83;632E{eOHthd>pir&"
NONCE_KEY
"My2V(Pb!JB!*D4KY2%J){uJ%R>Gq^KGo[wO_M@cTVn(:M;66,3&nImQ:*[>j7NAg"
AUTH_SALT
"_B=BH>[M<`g*`BRsoVQKHrLTs.)xO(4mGsN96XTD;8swiS:Kq:kfBsM2U$ke:^`m"
SECURE_AUTH_SALT
"x<(bcI]nb]OkroHL#tBE]K8Sf}t3uq=*Spc=2[/>#zG[];Y.b{$*x1y/iWf-ieeE"
LOGGED_IN_SALT
"tCZ<vpK^CMV%wZ:r/d[O.cCdxjerA$5#sE^dx|>:cOd#d51B/q[CY[W?sCkVO$!g"
NONCE_SALT
"R,{`xn/7rg?jD|/W&[BK^Rc;^CcNzT(m&dnQ@>J0yz2UcC<&ZRYHdr98Z)gi4,Uq"
ACF_PRO_KEY
"b3JkZXJfaWQ9NzQ2MTV8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTAyLTA5IDExOjQ5OjE5"
GENERIC_TMS_TAG
"//tms.triboomedia.it/utag/triboo/own-html.it/dev/utag.js"
GMAPS_API
"AIzaSyCCjf88TJRrIP9HKu2SjR_fRjOkOomnomA"
GTM_TAG
"GTM-NJ9VC8"
OFFERS_POST_TYPE
"news"
OFFERS_LIMIT
"2000"
SITE_SPECIAL_TAXONOMY
"tagalert"
SITE_FEATURED_CUSTOM_FIELD
"_featured"
COOKIE_DOMAIN
"html.it"
FORCE_SSL_ADMIN
"false"
WP_ALLOW_MULTISITE
"false"
Key Value
DB_NAME
"htmlit"
DB_USER
"htmlitUSR"
DB_PASSWORD
"Html.IT.P4ss"
DB_HOST
"localhost"
DB_PREFIX
"wp_html_"
WP_REDIS_HOST
"10.50.50.20"
WP_REDIS_PASSWORD
"Bl4z3M3d14"
WP_REDIS_PORT
"6379"
WP_REDIS_TIMEOUT
"1"
WP_REDIS_READ_TIMEOUT
"1"
WP_REDIS_DATABASE
"4"
WP_ENV
"staging"
WP_HOME
"https://staging.html.it"
WP_SITEURL
"https://staging.html.it/wp"
WP_POST_REVISIONS
"0"
WP_DEBUG
"true"
AUTH_KEY
"u6._>z_ninMX;2(@or{76a|&h}60<.O9ct1vb/k873R],pN{!PcJ;8,uJz}^^@,["
SECURE_AUTH_KEY
"gq2=@KGv2dNdCa9Y,O<IapD]qg1c],EweAhkRHz[qy#ADV,4</=yG;:_ED0SF&p^"
LOGGED_IN_KEY
");RTvb(qm&^NzW=V9&`_dry7YP]s{w<M-45>?!s_sPLgN83;632E{eOHthd>pir&"
NONCE_KEY
"My2V(Pb!JB!*D4KY2%J){uJ%R>Gq^KGo[wO_M@cTVn(:M;66,3&nImQ:*[>j7NAg"
AUTH_SALT
"_B=BH>[M<`g*`BRsoVQKHrLTs.)xO(4mGsN96XTD;8swiS:Kq:kfBsM2U$ke:^`m"
SECURE_AUTH_SALT
"x<(bcI]nb]OkroHL#tBE]K8Sf}t3uq=*Spc=2[/>#zG[];Y.b{$*x1y/iWf-ieeE"
LOGGED_IN_SALT
"tCZ<vpK^CMV%wZ:r/d[O.cCdxjerA$5#sE^dx|>:cOd#d51B/q[CY[W?sCkVO$!g"
NONCE_SALT
"R,{`xn/7rg?jD|/W&[BK^Rc;^CcNzT(m&dnQ@>J0yz2UcC<&ZRYHdr98Z)gi4,Uq"
ACF_PRO_KEY
"b3JkZXJfaWQ9NzQ2MTV8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTAyLTA5IDExOjQ5OjE5"
GENERIC_TMS_TAG
"//tms.triboomedia.it/utag/triboo/own-html.it/dev/utag.js"
GMAPS_API
"AIzaSyCCjf88TJRrIP9HKu2SjR_fRjOkOomnomA"
GTM_TAG
"GTM-NJ9VC8"
OFFERS_POST_TYPE
"news"
OFFERS_LIMIT
"2000"
SITE_SPECIAL_TAXONOMY
"tagalert"
SITE_FEATURED_CUSTOM_FIELD
"_featured"
COOKIE_DOMAIN
"html.it"
FORCE_SSL_ADMIN
"false"
WP_ALLOW_MULTISITE
"false"
0. Whoops\Handler\PrettyPageHandler