Hi.
I've turned on K2's
frontend editing but I have a few issues with it: instead of K2 forms for editing articles I get
blank modal windows.
I managed to
partially work around that by
switching the template (using Joomla's "Protostar") for the "Edit K2 item" menu voice: doing so I get an usable K2 form which I can use for basic editing of
only brand new items. If I try to browse K2's media manager for images or if I try to edit an already existing item the modal window turns blank and unusable.
In the backend K2 works 100% fine.
I already tried
the solution you gave to another user but that didn't solve my issue.
In my error logs I've found the following entry but I can't tell if it is actually related to my issues with frontend editing:
[Thu Feb 20 15:46:32.584502 2020] [proxy_fcgi:error] [pid 16596:tid 140283706541824] [client 5.90.225.188:0] AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/MY-WEBSITE.URL/httpdocs/templates/jf_thehub/html/com_k2/blog/item.php on line 243', referer:
MY-WEBSITE.URL/blog"
I'm on Joomla! 3.9.15 + K2 2.10.2 + php 7.3
Hope you can help me.
Thanks.