After you've migrated your site to a new server and had this error when activating WPSharely:


Plugin could not be activated because it triggered a fatal error.

Warning: include_once(/HOSTURL/home/wp-content/plugins/wpsharely/items/activation.php) [function.include-once]: failed to open stream: No such file or directory in /public_html/SITEFOLDER/wp-content/plugins/wpsharely/libs/factory/layouts/loader/loader.class.php on line 268

Then the problem is in the options of your database record for WP Sharely.


If you're familiar working with database records and managing it via PhpMyAdmin, you can follow the steps below:

1) Logon to your phpMyAdmin
2) Go to wp-options table.
3) Find & delete entries with option_name : factory_wpsharely_plugin_activation.php 

Try to Activate plugin through wp-admin
If the solution above doesn't work , follow steps 1-3 & delete following fields.

factory_wpsharely_plugin_activation.php
factory_wpsharely_plugin_viewtables
factory_wpsharely_plugin_types
factory_wpsharely_plugin_shortcodes
factory_wpsharely_plugin_metaboxes
factory_wpsharely_plugin_activation.php
factory_wpsharely_core_layouts/forms/default-controls


If you're still having trouble and can't fix the issue, please contact support.