Jump to content

Mistakes in Module


matloki

Recommended Posts

Hi,

Here my problem: classes/module/Module.php(1242) : eval()'d code on line 95

The line seems this one: /** @var array to store the limited country */
    public $limited_countries = array();

I was surfing on Presta, if I remember well I clicked on "check for update" on one module (dunno which one) and now I can't access anymore to all my module. I saw here that I should try to find which module I accidentally update and cancel it. Here the list of the recent changes:

 

    CONTRIBUTORS.md

    classes/Notification.php

    classes/cache/index.php

    classes/controller/index.php

    classes/db/index.php

    classes/helper/index.php

    classes/log/index.php

    classes/module/index.php

    classes/order/index.php

    classes/pdf/index.php

    classes/range/index.php

    classes/shop/index.php

    classes/stock/index.php

    classes/tax/index.php

    classes/webservice/index.php

    config/config.inc.php

    config/defines.inc.php

    config/defines_uri.inc.php

    config/smarty.config.inc.php

    config/smartyadmin.config.inc.php

    config/smartyfront.config.inc.php

Thanks a lot!
Link to comment
Share on other sites

That error usually indicates a module's file being broken. Access via ftp, if you use filezilla it's easy enough to see which folder inside modules/ has been modified last. Try to rename it like _*modulename* and see if you can access again

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...