WordPress.org

Forums

Electric Studio Download Counter
error / warning after upgrade to 2.1 (8 posts)

  1. matteo.ender
    Member
    Posted 1 year ago #

    hey Gabor,

    thanks for this awesome plugin. I was using version 2.0.2 which worked like a charm. Unfortunately i experienced a bug after upgrading to 2.1. Here's my error-message:

    Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\aksgesundheit\wp-content\plugins\electric-studio-download-counter\electric-studio-download-counter.php on line 635

    i already deactived all other plugins to see if there's a conflict - but no success. As you can see i'm still developing local so there's no link i could provide you.

    maybe you can help me out with a solution?
    Thanks a lot,
    matteo

    http://wordpress.org/plugins/electric-studio-download-counter/

  2. Flash Buddy
    Member
    Posted 1 year ago #

    Hey Matteo,

    Ditch that plugin (I did) and use this one, it is way more functional. I was able to easily add in my downloads and set the counter to match the particular files download count.

    WordPress Download Manager

  3. matteo.ender
    Member
    Posted 1 year ago #

    Hey flashbuddy,

    i already know that plugin - but it's way too big for my needs. I did my own kind of "plugin" with custom post types.

  4. schutzsmith
    Member
    Posted 1 year ago #

    Same error for me on several client sites.
    Warning: explode() expects parameter 2 to be string, array given in /home/oppor3/public_html/dev/wp-content/plugins/electric-studio-download-counter/electric-studio-download-counter.php on line 635

  5. schutzsmith
    Member
    Posted 1 year ago #

    For now I've commented out the end of 634 and all of 635.

    'ds_nonce' => $this->datesearch_nonce/*,
                'tracked' => json_encode( explode( ',', get_option( 'esdc_file_types' ) ) )*/

    Be forewarned that once you do that you can't access the file types then via Javascript.

  6. VictoryCheer
    Member
    Posted 1 year ago #

    I'm having the same problem

  7. matteo.ender
    Member
    Posted 1 year ago #

    @schutzsmith

    that did the trick for the moment - thank's a lot

  8. Electric Studio
    Member
    Plugin Author

    Posted 1 year ago #

    There's always been an issue when trying to count anything else but standard "a href" links, so if you use JS to perform the download, it might not work properly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Electric Studio Download Counter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic