Error message: Warning: array_key_exists(): The first argument should be either a string or an integer in

  • Hi,

    I am getting this error after uploading images and publishing a blog post:

    Code
    1. Warning: array_key_exists(): The first argument should be either a string or an integer in /var/www/vhosts/ccrrarquitectos.com/httpdocs/perch/core/lib/PerchFieldType.class.php on line 244

    It's repeated after each image:


    Screenshot-2022-04-30-at-11-28-17.png





    Any idea? — Thanks for your time

  • Post template part:

    Code
    1. <perch:repeater id="images" label="Imagenes">
    2. <div class="grid-item">
    3. <img src='<perch:blog id="image2" quality="60" type="image" width="850" label="Imagen" />' alt='<perch:blog type="text" size="l" help="SEO para Google" label="Descripción de la imagen" />' />
    4. </div>
    5. </perch:repeater>

    Summary