0
Welcome Guest! Login
0 items Join Now

SOLVED count () Warning

  • SOLVED count () Warning

    Posted 7 years 5 months ago
    • Hello,

      with a movement of a website to another provider I get back that Warning from gantry.php

      Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/hosting103703.af9b8.netcup.net/httpdocs/garrtner/cms/plugins/system/gantry/gantry.php on line 406

      It is not nice to see it at the Site.

      My PHP Version is 7.2. With a Version 5.6 I have the same Warnings.

      Any idea?


      Kind Regards
      Ralf
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED count () Warning

    Posted 7 years 5 months ago
    • What Gantry version?
      What template?
      Link to your site?

      How to recreate issue?

      Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you.

      Please post your FTP logon, password and FTP URL in the secure area of your post.


      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED count () Warning

    Posted 7 years 4 months ago
    • Hello Mark,

      Granty Version: Gantry v4.1.34
      Template Version: Myriad v1.6

      It comes up at the landing page and if I work with the template administration.

      Where I find the "secure area of that post? (SOLVED!)


      Regards, Ralf


      P.S. With GANTRY 5.xx I do not have that Warning!
      P.P.S I chekced that 5.xx if the warning coming up their too! If it is not possible to change the frameworks we forgot the idea!
    • Last Edit: 7 years 4 months ago by Ralf Siebert.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED count () Warning

    Posted 7 years 4 months ago
    • Ok You've found the secure tab and given me ftp details. But you haven't given me joomla super user Id and password or the url or your site?

      I don't understand the point about Gantry 5 either? Myriad is a Gantry 4 template and totally incompatible with Gantry 5?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED count () Warning

    Posted 7 years 4 months ago
    • Hi,

      I fixed the warning and changed the PHP Configuration

      PHP Version 5.6.30-0+deb8u1
      Server API FPM/FastCGI

      I think it should work.


      Regards, Ralf

Time to create page: 0.061 seconds