Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Incorrect namespace in use statement in ACF Addon #1330

@thunderdw

Description

@thunderdw

This is happening in Admin Columns Pro version 6.1.3. Line 5 of addons/acf/classes/Field.php has the following use statement:

use http\Exception\InvalidArgumentException;

That class in that namespace doesn't exist, and if you trigger the exception in that file, instead of the intended error message this occurs:

Fatal error: Uncaught Error: Class "http\Exception\InvalidArgumentException" not found in /path/to/plugins/admin-columns-pro/addons/acf/classes/Field.php:22

I believe this use statement should be the same as the rest of the plugin:

use InvalidArgumentException;

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