Beiträge von Evelin

    Sorry ... ich kapier´s nicht.
    JoomlaWunder
    Nicht, wo ich die overrides finde.

    Ich hatte die Zeile <?php if($this->item->params->get('itemExtraFields') && isset($this->item->extra_fields) && count($this->item->extra_fields)): ?> jetzt übernommen in die Datei

    (/components/com_k2/templates/default/item.php), Zeile 251.

    Das half, den Fehlercode zu eliminieren, hat aber das Blättern in den Beiträgen nicht wieder aktiviert.


    @j!-n - die Umbenennung des Verzeichnisses führt zu nicht mehr als dem Crash des Layouts .. :-|


    ... was, wenn ich das Plugin einfach lösche und neu installiere ? Gehen dann alle Beiträge verloren ?

    Der Unterschied zwischen deiner Zeile JoomlaWunder


    <?php if($this->item->params->get('itemExtraFields') && isset($this->item->extra_fields) && count($this->item->extra_fields)): ?>


    und der Zeile, auf die der Fehler verweist


    ist der Zusatz && isset($this->item->extra_fields)
    mitten im Code.



    Ich habe deine Zeile so eingefügt - und es scheint zu funktionieren.

    JoomlaWunder - Du hast deinen Namen verdient :)
    Danke

    <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>

    Welche Dateien soll ich vergleichen ?
    Es gibt 1 Datei (/components/com_k2/templates/default/item.php)
    und 1 Fehlermeldung
    /var/www/web28284683/html/evelinrosenfeld/templates/cooperline/html/com_k2/default/item.php on line 251"


    In Zeile 251 findet sich

    <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>


    Die Warnmeldung sagt
    count(): Parameter must be an array or an object that implements Countable


    und ich weiß nicht, was ich ersetzen / in die KLammer schreiben soll.




    Harmageddon Ein Verzeichnis omponents/com_k2/views/default/item.php existiert nicht.
    Folge ich dem Pfad der Fehlermeldung, so finde ich in Zeile 251




    <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>

    Die Warnmeldung besagt; count(): Parameter must be an array or an object that implements Countable

    Heißt das, ich muss ändern auf

    <?php if($this->item->params->get('itemExtraFields') && count(-->)): ?>

    ???


    Seit dem Update auf Joomla 3.9. funktioniert meim K2 nicht mehr. Außerdem bekomme ich ständig Mails mit folgendem Wortlaut:

    This email IS NOT sent by Joomla.org. It is sent automatically by your own site, Evelin Rosenfeld - https://evelinrosenfeld.de/


    ================================================================================

    UPDATE INFORMATION

    ================================================================================


    Your site has discovered that there is an updated version of Joomla! available for download.


    Joomla! version currently installed: 3.9.14

    Joomla! version available for installation: 3.9.15


    This email is sent to you by your site to remind you of this fact.

    The Joomla! project will never contact you directly about available updates of Joomla! on your site.


    ================================================================================

    UPDATE INSTRUCTIONS

    ================================================================================


    To install the update on Evelin Rosenfeld please select the following link. (If the URL is not a link, copy & paste it to your browser).


    Update link: https://evelinrosenfeld.de/adm…p?option=com_joomlaupdate


    Release News can be found here: https://www.joomla.org/announcements/release-news/


    ================================================================================

    WHY AM I RECEIVING THIS EMAIL?

    ================================================================================


    This email has been automatically sent by a plugin provided by Joomla!, the software which powers your site.

    This plugin looks for updated versions of Joomla! and sends an email notification to its administrators.

    You will receive several similar emails from your site until you either update the software or disable these emails.




    WIE KANN ICH DAS ABSTELLEN ???!!!

    Hallo, seit ich Joomla upgegradet habe, funktioniert mein Blog über K2 nicht mehr.

    1. Das Blättern in den Blogbeiträgen ist nicht mehr möglich ( es sind ca 200 Beiträge, die über mehrere Seiten liefen)

    2. Unter jedem Blogbeitrag steht im Frontend "Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/web28284683/html/evelinrosenfeld/templates/cooperline/html/com_k2/default/item.php on line 251"


    siehe zum Beispiel: http://evelinrosenfeld.de/inde…blog/item/452-gratulation


    Gibt es einen Weg, das zu reparieren, OHNE IN DER DATENBANK rumzuforkeln ?