• Resolved iLabSolutions

    (@ilabsolutions)


    Hi, suddenly I found the site down (even the backoffice was inaccessible). And the email that WordPress sent me reported the error due to the Packeta plugin. The error is as follows:

    An error of type E_ERROR was caused in line 87 of the file /home/notbwcom/public_html/wp-content/plugins/packeta/src/Packetery/Module/Order/Repository.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Packetery\Module\Order\Repository::construct(), 5 passed in /home/notbwcom/public_html/wp-content/plugins/packeta/temp/cache/nette.configurator/Container_13dfcc74e1.php on line 442 and exactly 6 expected in /home/notbwcom/public_html/wp-content/plugins/packeta/src/Packetery/Module/Order/Repository.php:87 Stack trace: #0 /home/notbwcom/public_html/wp-content/plugins/packeta/temp/cache/nette.configurator/Container_13dfcc74e1.php(442): Packetery\Module\Order\Repository->construct(Object(Packetery\Module\WpdbAdapter), Object(Packetery\Module\Order\Builder), Object(Packetery\Core\Helper), Object(Packetery\Module\Carrier\PacketaPickupPointsConfig), Object(Packetery\Module\Carrier\EntityRepository)) #1 /home/notbwcom/public_html/wp-content/plugins/packeta/deps/nette/di/src/DI/Container.php(157): Container_13dfcc74e1->createService030() #2 /home/notbwcom/public_html/wp-content/plugins/packeta/deps/nette/di/src/DI/Container.php(90): Packetery\Nette\DI\Cont

    If I deactivate Packeta the site becomes accessible again. How can I fix the problem and get Packeta up and running?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support kovalmatyas

    (@kovalmatyas)

    Hello @ilabsolutions,
    according to the error message you are getting it seems it is necessary to clear your cache directory (the directory mentioned in the error wp-content/plugins/packeta/temp/cache).

    Usually this happens automatically, if you install the plugin from wp.org or if you manually delete the pluginfiles before installing a new version.

    However, if you update the plugin by copying the plugin files over the old ones, you need to manually clear the cache directory afterwards.
    This is something we plan to manage automatically in the future as well, but as of now, it is necessary to do this manually.

    Best regards,
    Matyá? Kova?

    Thread Starter iLabSolutions

    (@ilabsolutions)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sudden plugin error causes site crash’ is closed to new replies.