WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / PDF link intermittently throws error

PDF link intermittently throws error

  • This topic has 3 replies, 2 voices, and was last updated 5 years, 10 months ago by Ed Ammendola.
Viewing 4 posts - 1 through 4 (of 4 total)
Jun 13, 2019 at 1:46 pm #98227

Ed Ammendola
Member

When clicking on various document links an error is thrown intermittently. See attached screen shot.

Warning: A non-numeric value encountered in ..\wp-content\plugins\download-manager\libs\class.DownloadStats.php on line 35

Jun 13, 2019 at 8:53 pm #98249

Shafayet
Moderator

please give me your URL to check.

Jun 19, 2019 at 1:26 pm #98687

Ed Ammendola
Member

My apologies for not responding right away, but your emails were going to my junk folder.

I repaired the issue by changing line 35 of class.DownloadStats.php.

From this: $udl[“{$index}”] = isset($udl[“{$index}”])?$udl[“{$index}”]+1:1;

To this: $udl[“”.$index] = isset( $udl[“”.$index] ) && is_numeric( $udl[“”.$index] ) ? $udl[“”.$index]+1 : 1;

Hopefully this will be fixed in the next update.

Aug 20, 2019 at 2:20 pm #111140

Ed Ammendola
Member

To anyone reading this. A version update provided a fix for this, as well.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘PDF link intermittently throws error’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions