ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

After putting some PHP in template, getting the following error -- Fatal error: Cannot redeclare now()

April 02, 2014 6:02pm

Subscribe [1]
  • #1 / Apr 02, 2014 6:02pm

    mc2design

    5 posts

    I have an EE site at http://www.myeesite.com and a Magento store in http://www.myeesite.com/store

    I’ve added some custom PHP in a template on EE to bring over the value of the Magento cart count, but the code seems to be causing an error when navigating to various EE pages.

    Here’s the error:
    Fatal error: Cannot redeclare now() in /Applications/MAMP/htdocs/myEEsite.com/store/app/code/core/Mage/Core/functions.php on line 119

    Wondering if anyone has an idea of what the issue might be and how to resolve.

    Thanks in advance for the help.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases