Fatal error: Uncaught Error: Attempt to modify property "rules" on null in /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php:78 Stack trace: #0 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(45): Blazemedia\Affiliation\Rendering\PageLinksData->getGTPageData() #1 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(154): Blazemedia\Affiliation\Rendering\PageLinksData->get() #2 /data/websites/htmlit/web/wp/wp-includes/class-wp-hook.php(324): Blazemedia\Affiliation\Rendering\PageLinksData->printPageLinkAttributes() #3 /data/websites/htmlit/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(50): apply_filters() #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(25): HTML\ViewModel\Post\Content\SplittedContent->init() #6 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/SingleSplittedContent.php(30): HTML\ViewModel\Post\Content\SplittedContent->__construct() #7 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/Single.php(27): HTML\ViewModel\Post\Templates\SingleSplittedContent->getContent() #8 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(57): HTML\ViewModel\Post\Templates\Single->getPostData() #9 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(28): HTML\ViewModel\Single->setPost() #10 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleLesson.php(14): HTML\ViewModel\Single->__construct() #11 /data/websites/htmlit/web/app/themes/htmlit/single-articolo.php(11): HTML\ViewModel\SingleLesson->__construct() #12 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...') #13 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...') #14 /data/websites/htmlit/web/index.php(5): require('...') #15 {main} thrown in /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php on line 78
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Uncaught Error: Attempt to modify property "rules" on null in /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php:78 Stack trace: #0 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(45): Blazemedia\Affiliation\Rendering\PageLinksData->getGTPageData() #1 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(154): Blazemedia\Affiliation\Rendering\PageLinksData->get() #2 /data/websites/htmlit/web/wp/wp-includes/class-wp-hook.php(324): Blazemedia\Affiliation\Rendering\PageLinksData->printPageLinkAttributes() #3 /data/websites/htmlit/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(50): apply_filters() #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(25): HTML\ViewModel\Post\Content\SplittedContent->init() #6 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/SingleSplittedContent.php(30): HTML\ViewModel\Post\Content\SplittedContent->__construct() #7 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/Single.php(27): HTML\ViewModel\Post\Templates\SingleSplittedContent->getContent() #8 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(57): HTML\ViewModel\Post\Templates\Single->getPostData() #9 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(28): HTML\ViewModel\Single->setPost() #10 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleLesson.php(14): HTML\ViewModel\Single->__construct() #11 /data/websites/htmlit/web/app/themes/htmlit/single-articolo.php(11): HTML\ViewModel\SingleLesson->__construct() #12 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...') #13 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...') #14 /data/websites/htmlit/web/index.php(5): require('...') #15 {main} thrown Whoops\Exception\ErrorException thrown with message "Uncaught Error: Attempt to modify property "rules" on null in /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php:78 Stack trace: #0 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(45): Blazemedia\Affiliation\Rendering\PageLinksData->getGTPageData() #1 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(154): Blazemedia\Affiliation\Rendering\PageLinksData->get() #2 /data/websites/htmlit/web/wp/wp-includes/class-wp-hook.php(324): Blazemedia\Affiliation\Rendering\PageLinksData->printPageLinkAttributes() #3 /data/websites/htmlit/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(50): apply_filters() #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(25): HTML\ViewModel\Post\Content\SplittedContent->init() #6 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/SingleSplittedContent.php(30): HTML\ViewModel\Post\Content\SplittedContent->__construct() #7 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/Single.php(27): HTML\ViewModel\Post\Templates\SingleSplittedContent->getContent() #8 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(57): HTML\ViewModel\Post\Templates\Single->getPostData() #9 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(28): HTML\ViewModel\Single->setPost() #10 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleLesson.php(14): HTML\ViewModel\Single->__construct() #11 /data/websites/htmlit/web/app/themes/htmlit/single-articolo.php(11): HTML\ViewModel\SingleLesson->__construct() #12 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...') #13 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...') #14 /data/websites/htmlit/web/index.php(5): require('...') #15 {main} thrown" Stacktrace: #2 Whoops\Exception\ErrorException in /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php:78 #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/plugins/affiliation/src/Rendering/PageLinksData.php78
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php514
0
Whoops\Run handleShutdown
[internal]0
/data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php
 
        $signatureTable = PostSignatureTable::getInstance();
 
        $domain     =  $this->pageData['domain'];
        $post_type  =  $this->pageData['post_type'];
        $post_id    =  $this->post != null ? $this->post->ID : '';
        $taxonomies =  $this->pageData['taxonomies'];
        $author_id  =  $this->pageData['author_id'];
        
        $apiCall = BLZ_API_RENDERING_MANAGER . "page/$domain/$post_type/$post_id/$taxonomies/$author_id";   
 
        $transient = $signatureTable->getSignatureId( $apiCall );
 
        $result = json_decode( $this->cachedApi->get( $apiCall, 0, $transient ) );
 
 
 
        /// questo controllo dovrebbe andare nel rendering manager
        if( !isset( $result->rules->type ) ) {
            $result->rules->type   = '';
            $result->rules->custom = '';
            $result->rules->po     = '';
        }
 
        return $result;
    }
 
 
    protected function getPagePath() {
 
        return get_permalink( $this->post );
    }
 
 
 
    /**
     * ritorna un array chiave-valore con i campi dell'oggetto
     *
     * @return array
     */
Arguments
  1. 0 of 0
    """ Uncaught Error: Attempt to modify property "rules" on null in /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php:78\n Stack trace:\n #0 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(45): Blazemedia\Affiliation\Rendering\PageLinksData->getGTPageData()\n #1 /data/websites/htmlit/web/app/plugins/affiliation/src/Rendering/PageLinksData.php(154): Blazemedia\Affiliation\Rendering\PageLinksData->get()\n #2 /data/websites/htmlit/web/wp/wp-includes/class-wp-hook.php(324): Blazemedia\Affiliation\Rendering\PageLinksData->printPageLinkAttributes()\n #3 /data/websites/htmlit/web/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n #4 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(50): apply_filters()\n #5 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Content/SplittedContent.php(25): HTML\ViewModel\Post\Content\SplittedContent->init()\n #6 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/SingleSplittedContent.php(30): HTML\ViewModel\Post\Content\SplittedContent->__construct()\n#6 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/SingleSplittedContent.php(30): HTML\ViewModel\Post\Content\SplittedContent->__constr #7 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Post/Templates/Single.php(27): HTML\ViewModel\Post\Templates\SingleSplittedContent->getContent()\n #8 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(57): HTML\ViewModel\Post\Templates\Single->getPostData()\n #9 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/Single.php(28): HTML\ViewModel\Single->setPost()\n #10 /data/websites/htmlit/web/app/themes/htmlit/src/ViewModel/SingleLesson.php(14): HTML\ViewModel\Single->__construct()\n #11 /data/websites/htmlit/web/app/themes/htmlit/single-articolo.php(11): HTML\ViewModel\SingleLesson->__construct()\n #12 /data/websites/htmlit/web/wp/wp-includes/template-loader.php(106): include('...')\n #13 /data/websites/htmlit/web/wp/wp-blog-header.php(19): require_once('...')\n #14 /data/websites/htmlit/web/index.php(5): require('...')\n #15 {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
"/articoli/trasformazioni-xslt-in-dreamweaver-8/"
USER
"nginx"
HOME
"/var/lib/nginx"
HTTP_PRIORITY
"u=0, i"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_SEC_FETCH_DEST
"document"
HTTP_SEC_FETCH_USER
"?1"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_SEC_FETCH_SITE
"none"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_SEC_CH_UA_PLATFORM
"\"Windows\""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA
"\"Chromium\";v=\"130\", \"HeadlessChrome\";v=\"130\", \"Not?A_Brand\";v=\"99\""
HTTP_CACHE_CONTROL
"no-cache"
HTTP_PRAGMA
"no-cache"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_FOR
"18.216.169.23"
HTTP_HOST
"staging.html.it"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
REDIRECT_STATUS
"200"
SERVER_NAME
"staging.html.it"
SERVER_PORT
"443"
SERVER_ADDR
"10.50.50.197"
REMOTE_PORT
"55542"
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
1747992127.4807
REQUEST_TIME
1747992127
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