- Posts: 9
COMMUNITY FORUM
k2 json output not as expected
- Stephanus Dreyer
-
Topic Author
- Offline
- New Member
Less
More
9 years 9 months ago - 9 years 9 months ago #145546
by Stephanus Dreyer
k2 json output not as expected was created by Stephanus Dreyer
i have a website in joomla using k2 and i am utelizing json output using ?format=json whitch has been working fine up antil yesterday were it randomly giving me a warning error on the json output before the json starts:
<br /><b>Warning</b>: Creating default object from empty value in <b>/var/www/example.com/components/com_k2/views/itemlist/view.json.php</b> on line <b>149</b><br />
i cant find any thing anyone have any ideas.
<br /><b>Warning</b>: Creating default object from empty value in <b>/var/www/example.com/components/com_k2/views/itemlist/view.json.php</b> on line <b>149</b><br />
i cant find any thing anyone have any ideas.
Last edit: 9 years 9 months ago by Stephanus Dreyer. Reason: question laking
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 9 months ago #145566
by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 json out put not working toughing an error
You can disable error reporting so your web app is not affected.
Furthermore which version of K2 and Joomla! are you using?
Furthermore which version of K2 and Joomla! are you using?
Please Log in or Create an account to join the conversation.
- Stephanus Dreyer
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
9 years 9 months ago #145589
by Stephanus Dreyer
Replied by Stephanus Dreyer on topic k2 json out put not working toughing an error
i am using verion 2.7.0
Please Log in or Create an account to join the conversation.
- Stephanus Dreyer
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
9 years 9 months ago #145590
by Stephanus Dreyer
Replied by Stephanus Dreyer on topic k2 json out put not working toughing an error
thanks turned error reporting to system default and it is outputing json to app.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 9 months ago #145608
by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 json out put not working toughing an error
You' re welcome.
We will look on the warning on our end.
We will look on the warning on our end.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
9 years 9 months ago #145619
by Lefteris
Replied by Lefteris on topic k2 json out put not working toughing an error
@Stephanus Dreyer
The issue has been resolved with this: github.com/joomlaworks/k2/commit/a918e2bb42daff0517cc6aa1448c37ef8b231581
Thanks for reporting this.
The issue has been resolved with this: github.com/joomlaworks/k2/commit/a918e2bb42daff0517cc6aa1448c37ef8b231581
Thanks for reporting this.
Please Log in or Create an account to join the conversation.