Support » Plugin: Vzaar Media Management » Class name conflicts

  • This plugin attempts to create a class named “HttpRequest” which conflicts with the following PECL module: 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)

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Class name conflicts’ is closed to new replies.