Plesk

Plesk shows the error: Trait ‘PleskExt<ext_name>pathtofile.php’ not found (CustomButtons.php:11) – Plesk

Symptoms

Cause

Installation of the extension (highlighted in the error) is corrupted.

Resolution

Reinstall the extension:

  1. Connect to the Plesk server via SSH (Linux) / RDP (Windows Server).

  2. Run the command below to reinstall the extension (on Windows Server, use a command prompt as an Administrator):

    # plesk bin extension --install <extension_name>

    where <extension name> is the name of the extension mentioned after PleskExt in the error message. Use lowercase letters only in the command.

    Example:

    If the error is:

    Trait 'PleskExtCatalogHelperPermissionsTrait' not found (CustomButtons.php:8)

    then use the command:

    # plesk bin extension --install catalog

    Note: If the error still appears on the Home page in Plesk, apply the resolution steps from this KB article.

Exit mobile version