Keyword

k2 json output not as expected

  • Stephanus Dreyer
  • Stephanus Dreyer's Avatar Topic Author
  • Offline
  • New Member
More
9 years 2 months ago - 9 years 2 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.
Last edit: 9 years 2 months ago by Stephanus Dreyer. Reason: question laking

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 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?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Stephanus Dreyer
  • Stephanus Dreyer's Avatar Topic Author
  • Offline
  • New Member
More
9 years 2 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
  • Stephanus Dreyer's Avatar Topic Author
  • Offline
  • New Member
More
9 years 2 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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 2 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum