Skip to content

Hooks make cron import beug #24

@iSurcouf

Description

@iSurcouf

Suite à la demande du service support sur le Billet MFW-456-77672, je pousse le problème ici :

Dès l'installation du whmcs_module_provisioning, une erreur WHMCS apparait au niveau de l'import des emails via cron.php.

[n0c_user@nodeXXX-eu ~]$ /usr/bin/php -q /home/n0c_user/whmcsdata/crons/pop.php
Whoops\Exception\ErrorException: Declaration of ZBateson\StreamDecorators\SeekingLimitStream::getSize() must be compatible with Psr\Http\Message\StreamInterface::getSize(): ?int in /home/svncjumb/public_html/vendor/zbateson/stream-decorators/src/SeekingLimitStream.php:74

#0 /home/svncjumb/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError()
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()

Une activation de la fonction "$disable_hook_loading= true;" dans le fichier configuration.php de WHMCS permet au script cron.php de fonctionner normalement.
Renommer avec un nom differend modules/servers/PlanetHoster/hooks.php permet aussi d'éviter le beug.
Cela confirme que hooks.php génère un dysfonctionnement dans WHMCS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions