Forums

[Plugin: WordPress Download Monitor] Unsupported operand types (5 posts)

  1. Scofield
    Member
    Posted 2 years ago #

    Fatal error: Unsupported operand types in /var/www/wp-content/plugins/download-monitor/classes/downloadable_file.class.php on line 226

    http://wordpress.org/extend/plugins/download-monitor/

  2. Mike
    Member
    Posted 2 years ago #

    Should be solved .8

  3. Scofield
    Member
    Posted 2 years ago #

    Thanks but custom download URL is still not working for me.
    I think that I have all settings correct, or no?

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteRule ^download/([^/]+)$ http://mysite.com/wp-content/plugins/download-monitor/download.php?id=$1 [L]
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Error 404 - Not Found

  4. Mike
    Member
    Posted 2 years ago #

    Check download.php is actually readable (try going to it directly).

  5. Scofield
    Member
    Posted 2 years ago #

    Without custom download URL it works. And when I turn it on - Error 404 - Not Found, but directly with plugins/download-monitor/download.php?id=1 it works

Topic Closed

This topic has been closed to new replies.

About this Topic