WordPress.org

Forums

OnePress Social Locker
[resolved] Locker no missing from template after update (11 posts)

  1. aliferis
    Member
    Posted 2 years ago #

    Hello

    I had the social locker working fine in my WP 3.5.1 - until I ran the recent update to the plugin - now it is missing and I get a JS error in my console:

    Error: TypeError: $(...).socialLock is not a function

    pls help

    cheers

    joe

    http://wordpress.org/extend/plugins/social-locker/

  2. OnePress
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Thank you for using the plugin.
    Please make sure that you reset CDN cache or other caching mechanism on your site.

    Regards, Paul

  3. aliferis
    Member
    Posted 2 years ago #

    reset ?

  4. aliferis
    Member
    Posted 2 years ago #

    I use DB cache reloaded and this is htacess

    Header unset ETag
    FileETag None

    # BEGIN Expire headers
    <ifModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 5 seconds"
    ExpiresByType image/x-icon "access plus 2592000 seconds"
    ExpiresByType image/jpeg "access plus 2592000 seconds"
    ExpiresByType image/png "access plus 2592000 seconds"
    ExpiresByType image/gif "access plus 2592000 seconds"
    ExpiresByType application/x-shockwave-flash "access plus 592000 seconds"
    ExpiresByType text/css "access plus 604800 seconds"
    ExpiresByType text/javascript "access plus 216000 seconds"
    ExpiresByType application/javascript "access plus 216000 seconds"
    ExpiresByType application/x-javascript "access plus 216000 seconds"
    ExpiresByType text/html "access plus 600 seconds"
    ExpiresByType application/xhtml+xml "access plus 600 seconds"
    </ifModule>
    # END Expire headers

  5. OnePress
    Member
    Plugin Author

    Posted 2 years ago #

    Please show me the page where the plugin is installed and then I could tell what is the reason.

  6. aliferis
    Member
    Posted 2 years ago #

    Thanks

    the page:

    http://www.seas.org.uk.php53-10.dfw1-2.websitetestlink.com/main/?album=7&gallery=2

    the template code:

    <?php
    $sctext = '<input class="button downloadButton" type="submit" value="Download selected images" />';
    echo do_shortcode('[sociallocker]'.$sctext.'[/sociallocker]');
    ?>

  7. OnePress
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for the URL.
    Please re install the plugin from wordpress.org. I found the bug and fixed it. Thank you for your bug report.

  8. aliferis
    Member
    Posted 2 years ago #

    great - thanks a lot

    joe

  9. aliferis
    Member
    Posted 2 years ago #

    did you release an update ?

  10. OnePress
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, but the plugin version was left the same. Please delete the plugin and install it again.

  11. aliferis
    Member
    Posted 2 years ago #

    works perfect !

    thanks so much

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • OnePress Social Locker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags