• Resolved scottm-ldg

    (@scottm-ldg)


    Hi,
    I purchased the pro version of the woocommerce product slider, and I’m getting these errors on my localhost:

    On the plugin list page, after I installed the plugin, I’m getting this error:

    Notice: unserialize(): Error at offset 0 of 305 bytes in /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-content/plugins/woocommerce-products-slider/woocommerce-products-slider.php on line 266

    When I create a new slider, I get the following error when I click the Publish button:

    Notice: Undefined index: wcps_slider_navigation in /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-content/plugins/woocommerce-products-slider/includes/wcps-meta.php on line 928
    
    Notice: Undefined index: wcps_product_ids in /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-content/plugins/woocommerce-products-slider/includes/wcps-meta.php on line 949
    
    Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-content/plugins/woocommerce-products-slider/includes/wcps-meta.php:928) in /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-includes/pluggable.php on line 1173

    I also notice that when clicking the “details” link on the plugin’s list page I’m getting this error message:

    Notice: Undefined property: stdClass::$checked in /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-content/plugins/woocommerce-products-slider/woocommerce-products-slider.php on line 291
    
    Notice: unserialize(): Error at offset 0 of 406 bytes in /Applications/MAMP/htdocs/phpLocalhost/wordpress-diksha/wp-content/plugins/woocommerce-products-slider/woocommerce-products-slider.php on line 308
    
    An unknown error occurred

    I have tested the plugin out on a live server and those errors do not show and I’m able to successfully add and update a slider. Any idea how I can resolve these errors? I really need to be able to work locally while I’m developing a theme for my client.

    Thanks in advance for any help on this

    https://wordpress.org/plugins/woocommerce-products-slider/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    Thanks for reporting.

    We are also working on local sever using WAMP, haven’t faced like this issue.

    Have you edited any code on our plugin ?

    let me check the issue.

    Thanks

    for quick fix:

    this code was made for automatic plugin update from our server. unfortunately our API not ready yet.

    please remove code
    file: woocommerce-products-slider.php
    line: 207

    you will see a comment as following
    //Only for Pro version

    remove from 207 to 321 line

    please let me know if this problem still happening.

    i would request for quick reply please use contact form on our website.

    Best Regards

    Thread Starter scottm-ldg

    (@scottm-ldg)

    Thanks for all your help on this!

    Yap,

    Thanks for contacting. great to see your problem solved.

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors in localhost, but not on live server’ is closed to new replies.