Okay
  Public Ticket #1441753
php warning while using "portfolio" in a page
Closed

Comments

  • ijinku started the conversation

    When I use "portfolio" as an element on a page and add 3 pages to it, I see the following error message : 

    Warning: count(): Parameter must be an array or an object that implements Countable in ...\xampp\htdocs\wordpress\wp-content\themes\kalium\inc\laborator_functions.php on line 739

    I'm developing my website on my local wordpress - it has not been deployed yet, so I cannot show you a live link of the problem.

  • ijinku replied

    It is very similar to the message displayed on this link : 

    http://www.david-schreiber.com/

  •  1,560
    Laborator replied

    Hi ijinku,

    This error is showing because you are using the the very latest PHP version 7.2, we where not aware of this problem but some users reported this, we have already 'fixed' this and on the next theme update the warning will not show.

    Until then you can manually change a file on your theme, so please download this file and replace it in this directory (of the theme): /inc

    Thanks!

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • ijinku replied

    Thanks Art!

    Much appreciated.

  •  1,560
    Laborator replied

    You're welcome

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group