shortcodes not working

Posted in: Newspaper
Post count: 12

The shortcodes are not working for our installation. If I try to activate the WPBakery/js_composer as a normal plugin I get a
Fatal error: Cannot redeclare wpb_getImageBySize() (previously declared in /wp-content/themes/Newspaper/wpbakery/js_composer/composer/lib/helpers.php:15) in /wp-content/plugins/js_composer/include/helpers/helpers.php on line 67

From the documentation it appears that this plugin should be installed as a normal plugin in the plugin folder. In the wp-content/themes/Newspaper folder there is a folder called wpbakery. If I rename this folder, I get a white screen on the entire site as long as the newspaper theme is activated. So I can’t deactivate the current installation of it to move it to the plugins folder to see if that will allow the shortcodes to work.

Post count: 6600

Hi,

Please follow this guide and delete the plugin then install it from the plugins folder that came with the theme files, you don’t need to rename any folder, just delete the plugin and install from the plugins folder: https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/

Thanks

Post count: 12

Deleting it causes a white screen on the entire site too.

Post count: 9544

1) backup data
2) switch to twenty-fourteen theme or similar; clear cache(s), CDN caches, etc.
3) delete the wpbakery folder in the old theme if running pre 4.0 Newspaper theme; delete entire theme folder ideally
4) update to new 4.2+ theme if not already done; upload new theme folder into wp-content/themes/
5) install the VC plugin into the plugins folder; not into the theme folder; activate plugin
6) select theme, activate
7) check site; you may need to reselect widgets to refresh them
8) resave permalinks if needed
9) restart cache/CDN if all working

Post count: 6600

Hi,

Thanks Christopher!

@moregoodfoundation

Please make a back-up of your current theme installation as Christopher wrote then update the theme to the latest version (4.3) if you are using a an older theme version if not re-upload the theme files delete the wpbackery from theme files then upload it from plugins folder like here
If this dose not solve this issue please send your wp-admin user and pass at contact@tagdiv.com so we can check this, also send a link to this topic or specify your issues details.

Thanks

  • This reply was modified 11 years by Lucian.
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.