Jump to content

Edit History

Guido Corbesier

Guido Corbesier

After upgrading from 1.7.4.2 to 1.7.8.7 one of my custom php scripts gives

 ├------[FATAL ERROR]-->
Array
(
    [type] => 16384
    [message] => Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0
    [file] => /var/www/computercentrale/src/Adapter/Configuration.php
    [line] => 418
)

The script fails on the last line:

        require_once('../config/config.inc.php');
        require_once("lib/images.inc.php");
        define("ID_SHOP", 1 );
        define("ID_SHOP_GROUP", 1 );
        require_once("lib/ps/Prestashop15.class.php");

without any other information. In this last function it does not execute anything, it fails allready in the function __construct()

I have other scripts working fine.

Does anyone have the same issue, and how to resolve this. What exactly do you need to specify and where?

Any help is much appreciated!

Guido Corbesier

Guido Corbesier

After upgrading from 1.7.4.2 one of my custom php scripts gives

 ├------[FATAL ERROR]-->
Array
(
    [type] => 16384
    [message] => Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0
    [file] => /var/www/computercentrale/src/Adapter/Configuration.php
    [line] => 418
)

The script fails on the last line:

        require_once('../config/config.inc.php');
        require_once("lib/images.inc.php");
        define("ID_SHOP", 1 );
        define("ID_SHOP_GROUP", 1 );
        require_once("lib/ps/Prestashop15.class.php");

without any other information. In this last function it does not execute anything, it fails allready in the function __construct()

I have other scripts working fine.

Does anyone have the same issue, and how to resolve this. What exactly do you need to specify and where?

×
×
  • Create New...