Skip to content

[BUG] The file "/tmp/phpnWYRUf" does not exist #1578

@musicpanda

Description

@musicpanda

Prerequisites

Describe the bug and add attachments

When I replace a picture in the menu module of my template the shop crashes. The error indicates that it happens in a hooked module. When I add some debug code (Prestashop is horrible with errors in hooked code) I see that the causing module is autoupgrade and the hook is DisplayBackofficeHeader.

The filename is every time different but it always starts with /tmp/php

I upgraded autoupgrade to the latest version but it made no difference.

Image

Expected behavior

No crash

Steps to reproduce

I used pm_advancedtopmenu v1.15.2 - by Presta-Module. But as the error occurs in Autoupgrade it is likely to happen elsewhere too.

PrestaShop version(s) where the bug happened

8.2.3

PHP version(s) where the bug happened

8.2

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions