Keyword

Message: Call to a member function get() on null

More
5 years 2 months ago #174717 by deef
On this site www.offirent.be I have always a Unhandled exception error.

www.offirent.be/users/davy-renckens&format=feed&Itemid=101


SERVER variables

Array
(
[USER] => offirentbe
[HOME] => /data/sites/web/offirentbe/
[SCRIPT_NAME] => /index.php
[REQUEST_URI] => /users/davy-renckens%26format%3Dfeed%26Itemid%3D101
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[SERVER_PROTOCOL] => HTTP/1.1
[GATEWAY_INTERFACE] => CGI/1.1
[REDIRECT_URL] => /users/davy-renckens&format=feed&Itemid=101
[REMOTE_PORT] => 52929
[SCRIPT_FILENAME] => /data/sites/web/offirentbe/www/index.php
[SERVER_ADMIN] => This email address is being protected from spambots. You need JavaScript enabled to view it.
[CONTEXT_DOCUMENT_ROOT] => /data/sites/web/offirentbe/www
[CONTEXT_PREFIX] =>
[REQUEST_SCHEME] => https
[DOCUMENT_ROOT] => /data/sites/web/offirentbe/www
[REMOTE_ADDR] => 5.196.175.153
[SERVER_PORT] => 443
[SERVER_ADDR] => 83.217.74.151
[SERVER_NAME] => www.offirent.be
[SERVER_SOFTWARE] => Apache
[SERVER_SIGNATURE] =>
[LD_LIBRARY_PATH] => /data/jail/usr/local/httpd-2.4-worker/lib:/data/jail/usr/local/openssl/lib
[PATH] => /bin:/usr/bin:/sbin:/usr/sbin
[HTTP_X_GT_VIEWER_IP] => 37.57.218.243
[HTTP_ACCEPT] => text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/php,application/x-php,application/x-httpd-php
[HTTP_ACCEPT_LANGUAGE] => en
[HTTP_CONNECTION] => close
[HTTP_X_GT_LANG] => zh-tw
[HTTP_ACCEPT_ENCODING] => gzip
[HTTP_X_FORWARDED_FOR] => 83.217.74.149
[HTTP_X_REAL_IP] => 83.217.74.149
[HTTP_X_GT_CLIENTIP] => 83.217.74.149
[HTTP_HOST] => www.offirent.be
[HTTP_USER_AGENT] => Mozilla/5.0 (compatible; MJ12bot/v1.4.8; mj12bot.com/)
[proxy-nokeepalive] => 1
[SSL_TLS_SNI] => www.offirent.be
[HTTPS] => on
[SCRIPT_URI] => www.offirent.be/users/davy-renckens&format=feed&Itemid=101
[SCRIPT_URL] => /users/davy-renckens&format=feed&Itemid=101
[LOGPREFIX] => user_offirentbe
[UNIQUE_ID] => Xj0EYw6czugrfQwlzV4KUQAAAZ0
[REDIRECT_STATUS] => 200
[REDIRECT_SSL_TLS_SNI] => www.offirent.be
[REDIRECT_HTTPS] => on
[REDIRECT_HTTP_AUTHORIZATION] =>
[REDIRECT_SCRIPT_URI] => www.offirent.be/users/davy-renckens&format=feed&Itemid=101
[REDIRECT_SCRIPT_URL] => /users/davy-renckens&format=feed&Itemid=101
[REDIRECT_LOGPREFIX] => user_offirentbe
[REDIRECT_UNIQUE_ID] => Xj0EYw6czugrfQwlzV4KUQAAAZ0
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1581057123.3899
[REQUEST_TIME] => 1581057123
)

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #174722 by JoomlaWorks
Replied by JoomlaWorks on topic Message: Call to a member function get() on null
This is a known issue with feed views only. Upgrade to K2 v2.10.3 (dev) from getk2.org/downloads/?f=K2_Development_Release.zip and the problem will be resolved.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #174764 by deef
I updated Like you ask me I am having now version -- K2 v2.10.3 [Dev Build 20191219] Copyright © 2006-2020 JoomlaWorks Ltd.


The problem is that I have now two different problems that are my guess related to K2 (correct me if I'm wrong)

The first one:

If you browse to this page:
search.google.com/structured-data/testing-tool/u/0/?hl=nl#url=https%3A%2F%2Fwww.offirent.be%2Fnieuws%2Fhuren-van-een-maatschappelijke-zetel

You can see that the structured date is not staying on that page but that he is jumping to the domain /users?


The second problem is a new PHP exception:

pastebin.com/iw62pzwC

(I had too manny links in this topic)

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #174784 by JoomlaWorks
Replied by JoomlaWorks on topic Message: Call to a member function get() on null
a) It's because the content is locked. I just clicked on the URL and I was redirected to login.
b) This could come from some third party plugin for K2. Did you check if you have any?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum