0
Welcome Guest! Login
0 items Join Now

Bug Wordpress - Twig

    • Bridget's Avatar
    • Bridget
    • Rocketeer
    • Posts: 91
    • Thanks: 4

    Bug Wordpress - Twig

    Posted 1 month 3 weeks ago
    • Our headers and footers are messed up once we upgraded to PHP 7.4. This is the error we are getting:
      Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /disk2/collegesoflaw.edu/dev.collegesoflaw.edu/wp-content/plugins/gantry5/src/vendor/twig/twig/lib/Twig/Template.php on line 580

      You can see our dev site here:
      dev.collegesoflaw.edu/

      Please advise. Thanks.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 87320
    • Thanks: 11276
    • Web Designer/Developer

    Re: Bug Wordpress - Twig

    Posted 1 month 3 weeks ago
    • PHP 7.4 should really be considered a beta as yet. It's just too new. Regress back to PHP 7.3 and everything will be fine.

      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.
    • Bridget's Avatar
    • Bridget
    • Rocketeer
    • Posts: 91
    • Thanks: 4

    Re: Bug Wordpress - Twig

    Posted 1 month 2 weeks ago
    • I understand that but do you know when Gantry plans to be ready for the neweset php as my IT department is getting ansty to upgrade for security reasons.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 87320
    • Thanks: 11276
    • Web Designer/Developer

    Re: Bug Wordpress - Twig

    Posted 1 month 2 weeks ago
    • Sorry, no idea at the moment. It's way too new and has many bugs and changes we have to work around. You really don't want to be using PHP 7.4 just yet - stick with PHP 7.3 it's more than sufficient for now. Also, it's not only out products you have to consider but WP and all the plugins that you are using too.

      Regards, Mark.
    • The following users have thanked you: Bridget

    • 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.

Time to create page: 0.082 seconds