Vzaar Media Management
Class name conflicts (2 posts)

  1. brandon@isolary.com
    Posted 2 years 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)


  2. brandon@isolary.com
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Vzaar Media Management
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.