• Hi.

    After upgrading to version 3.1.12, there are the following errors:

    1. On statistics page:
    – Statistics stopped updating. In log files: Unknown column ‘filename’ in ‘field list’ in response to request INSERT INTO prefix_ahm_download_stats (pid, uid, oid, year, month, day, timestamp, ip, filename, agent, version)…

    – Undefined property: stdClass::$agent in D:\OpenServer\domains\wptest.local\wp-content\plugins\download-manager\admin\tpls\stats\history.php on line 233

    – Undefined property: stdClass::$version in D:\OpenServer\domains\wptest.local\wp-content\plugins\download-manager\admin\tpls\stats\history.php on line 260

    2. When plugin Premium Packages – Sell Digital Products Securely is activated, the entire table is floating in the all files section

    3. A rhetorical question. When will all the phrases be transferred to the language files?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Nayeem Hyder

    (@nriddhi)

    Are you talking about the Downloads > History section? please let us know and please check your PHP version old or not, it is working fine on our testing site, then let us know

    thanks

    Dear Nayeem,

    I have also encountered the problem stated in (1). The table PREFIX_ahm_download_stats does not have a column named filename as you can see from the table description below:

    
    MySQL> DESCRIBE PREFIX_ahm_download_stats;
    +-----------+--------------+------+-----+---------+----------------+
    | Field     | Type         | Null | Key | Default | Extra          |
    +-----------+--------------+------+-----+---------+----------------+
    | id        | int(11)      | NO   | PRI | NULL    | auto_increment |
    | pid       | int(11)      | NO   |     | NULL    |                |
    | uid       | int(11)      | NO   |     | NULL    |                |
    | oid       | varchar(100) | NO   |     | NULL    |                |
    | year      | int(4)       | NO   |     | NULL    |                |
    | month     | int(2)       | NO   |     | NULL    |                |
    | day       | int(2)       | NO   |     | NULL    |                |
    | timestamp | int(11)      | NO   |     | NULL    |                |
    | ip        | varchar(20)  | NO   |     | NULL    |                |
    +-----------+--------------+------+-----+---------+----------------+
    9 rows in set (0.003 sec)
    

    I can see that the CREATE TABLE statement in download-manager/libs/class.Installer.php has the filename column, and there is also an ALTER TABLE statement to add the column in case it does not exist, however, it appears not to have been applied. Hope this helps.

    Kind Regards,
    Yury Kherimyan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Errors after update’ is closed to new replies.