WordPress.org

Ready to get started?Download WordPress

Forums

Vzaar Media Management
Class name conflicts (2 posts)

  1. brandon@isolary.com
    Member
    Posted 9 months ago #

    This plugin attempts to create a class named "HttpRequest" which conflicts with the following PECL module: http://php.net/manual/en/class.httprequest.php. If a server has this extension installed, the plugin will fail. I rewrote the plugin to namespace the HttpRequest class. This fixed the problem. There's also an issue with this plugin and a WP core file (media-upload.php lines 38-41) that causes a message ("Cheatin' uh?") to appear. I blame this message on the WP community for including error messages that are non informative. However, this plugin also shouldn't trigger this error. The "Cheatin' Uh?" error is related to permissions and an expected workflow within WP as far as I can tell. Didn't do further research.

    (brandon at isolary dot com)

    http://wordpress.org/plugins/vzaar-media-management/

  2. brandon@isolary.com
    Member
    Posted 9 months ago #

    An alternate way to handle that HttpRequest class issue would be to include a duplicate of the PECL module if it's not already defined, and then extend the class as needed for this specific application.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.