• Resolved mastns

    (@mastns)


    If you found Warning like this

    Warning: Illegal string offset ‘items_per_page’ in /***your-root-server***/public_html/wp-content/plugins/download-manager/tpls/wpdm-all-downloads.php on line 5

    It may be your server use different version of PHP. You should edit the script of file wpdm-all-downloads.php

    Try this (worked for me) :

    • Go to Plugin > Installed Plugin
    • On your Download Manager plugin, click Edit
    • At the Plugin Files (right side), choose file download-manager/tpls/wpdm-all-downloads.php
    • Look on line 5, add is_array($params) && before !isset($params[‘items_per_page’]), should look like this

      if(is_array($params) && !isset($params[‘items_per_page’])) $params[‘items_per_page’] = 20;

    • Then click Update File button
    • Refres your website

    My WP version : 4.7.2 and Download Manager version: 2.9.42
    Thanks for reading, sorry my english is poor

  • The topic ‘Illegal string offset ‘items_per_page’ when use [wpdm_all_packages]’ is closed to new replies.