Title: Cannot declare class N2SS3Widget
Last modified: June 9, 2020

---

# Cannot declare class N2SS3Widget

 *  Resolved [apuliabikeroute](https://wordpress.org/support/users/apuliabikeroute/)
 * (@apuliabikeroute)
 * [6 years ago](https://wordpress.org/support/topic/cannot-declare-class-n2ss3widget/)
 * Hi,
 * I got the following error. How to fix it?
 * Warning: Cannot declare class N2SS3Widget, because the name is already in use
   in /web/htdocs/www.apuliabikeroute.it/home/wp-content/plugins/smart-slider-3/
   Nextend/SmartSlider3/Platform/WordPress/Widget/WidgetHelper.php on line 28
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-declare-class-n2ss3widget%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [6 years ago](https://wordpress.org/support/topic/cannot-declare-class-n2ss3widget/#post-12958573)
 * Hi [@apuliabikeroute](https://wordpress.org/support/users/apuliabikeroute/)
 * The path in the error message is for 3.4, but on your site I can see the 3.3 
   pathes used.
 * Have you downgraded to 3.3.?
 * I think your problem might have been that something went wrong during the 3.3
   to 3.4 update, and some new files were not copied, or maybe some old files weren’t
   removed.
    What I recommend trying is a manual update via FTP.
 * For that you’ll need to deactivate and remove the current Smart Slider 3 installation(
   your sliders will stay!). Then you should download the zip file from:
    [https://downloads.wordpress.org/plugin/smart-slider-3.3.4.1.7.zip](https://downloads.wordpress.org/plugin/smart-slider-3.3.4.1.7.zip)
   Then unzip it and upload it to your server: [https://smartslider.helpscoutdocs.com/article/1717-wordpress-installation#ftp](https://smartslider.helpscoutdocs.com/article/1717-wordpress-installation#ftp)
 * If you would use for example Filezilla, you could see whether or not all files
   are getting uploaded. And you could also try to upload those files again, which
   failed.
 * If every file was uploaded, but you still see the problem, maybe you have PHP
   caching. You can check that at the Help Center:
    [https://smartslider.helpscoutdocs.com/article/1773-help-center](https://smartslider.helpscoutdocs.com/article/1773-help-center)
   under “Debug information”. Look for this line: `PHP - opcache.enable:` If it’s
   1, then it’s enabled on your sever, and it refreshes with the interval set at:`
   PHP - opcache.revalidate_freq: 2`
 * If you’re not sure where/how to clear this cache, you could create opcache_reset.
   php file. Put this code in it:
 *     ```
       <?php
       opcache_reset();
       ```
   
 * Then upload it to your server via FTP, then you should open this file in the 
   browser. E.g. if you uploaded it into the installation folder of your WordPress(
   the same directory where your wp-config.php folder is located ) then you will
   need to open it like this: [https://yoursite.com/opcache_reset.php](https://yoursite.com/opcache_reset.php)
   
   where “yoursite.com” is your site URL. Then check if the problem still occurs
   like that.

Viewing 1 replies (of 1 total)

The topic ‘Cannot declare class N2SS3Widget’ is closed to new replies.

 * ![](https://ps.w.org/smart-slider-3/assets/icon.svg?rev=2307688)
 * [Smart Slider 3](https://wordpress.org/plugins/smart-slider-3/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-3/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-3/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-3/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-3/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-3/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/cannot-declare-class-n2ss3widget/#post-12958573)
 * Status: resolved