Visual Composer is returning error after installing theme? - wordpress

My visual composer is not working. It is returning following error in the javascript console:
shortcodes_builder.js?ver=4.6.2:84 SyntaxError: Unexpected token <
custom_views.js?ver=4.6.2:81 Uncaught TypeError: _.template(...).trim is not a function

Related

There has been a critical error on this website. Learn more about troubleshooting WordPress

Fatal error
: Uncaught Error: Call to undefined function wvs_get_wc_attribute_taxonomy() in /var/www/wp-content/themes/pharmacy2/inc/merlin/includes/class-wc-widget-layered-nav.php:329

Issue with cache Symfony2

I have a problem when I make a change in symfony2 and when I refresh the page, the cache does not get regenerated. The log tells me the following:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Symfony\\Component\\HttpKernel\\Config\\FileLocator' not found in /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache:2812\nStack trace:\n#0 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2769): Symfony\\Component\\HttpKernel\\Kernel->getContainerLoader(Object(Symfony\\Component\\DependencyInjection\\ContainerBuilder))\n#1 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2721): Symfony\\Component\\HttpKernel\\Kernel->buildContainer()\n#2 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2493): Symfony\\Component\\HttpKernel\\Kernel->initializeContainer()\n#3 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2531): Symfony\\Component\\HttpKernel\\Kernel->boot()\n#4 /var/www/vhosts/coosur.com/httpdocs/releases/840/web/app.php(18): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#5 {main}\n thrown in /var/www/vhosts/coo...', referer: https://www.XXXX.com/
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Symfony\\Component\\HttpKernel\\Config\\FileLocator' not found in /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache:2812\nStack trace:\n#0 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2769): Symfony\\Component\\HttpKernel\\Kernel->getContainerLoader(Object(Symfony\\Component\\DependencyInjection\\ContainerBuilder))\n#1 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2721): Symfony\\Component\\HttpKernel\\Kernel->buildContainer()\n#2 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2493): Symfony\\Component\\HttpKernel\\Kernel->initializeContainer()\n#3 /var/www/vhosts/coosur.com/httpdocs/releases/840/app/bootstrap.php.cache(2531): Symfony\\Component\\HttpKernel\\Kernel->boot()\n#4 /var/www/vhosts/coosur.com/httpdocs/releases/840/web/app.php(18): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#5 {main}\n thrown in /var/www/vhosts/XXX...'
Besides, if I make a change and reload the page, the result is the next:
�Tf8utf8_general_ciPRIselect,insert,update,referencesNEVERvarchar(17),8�defpsalocalesactiveNOenumutf8utf8_general_ciselect,insert,update,referencesNEVERtrueenum('false','true')
Any idea?

website fatal error after wordpress upgrade

I get this error after upgrading to the last wordpress version
Fatal error: Call to undefined function is_posts_page() in /home/modernis/public_html/wp-content/themes/room09/home.php on line 19
this is the site with the problem: http://modernist.ro/

App is broken after 0.9.4 update: undefined is not a function in dynamic_template.js:371

I had a meteor 0.9.3 app that was working.
I ran meteor update. Now I have a bunch or errors (60 total):
Uncaught TypeError: undefined is not a function dynamic_template.js:371
Uncaught TypeError: Cannot read property 'prototype' of undefined helpers.js:140
Uncaught TypeError: undefined is not a function router.js:61
Uncaught TypeError: Cannot read property 'RouteController' of undefined iron-router-progress.js?2b52a697e5a2fba4ec827721c08cfdd0a5bae508:25
Uncaught TypeError: Cannot read property 'RouteController' of undefined global-imports.js?a26cc176b56b3d2b1df619ec7af99630b0fb6a1f:3
Uncaught ReferenceError: Template is not defined template.about.js?3ead3e2cab8a60252235e31f2533c2179f736294:2
Uncaught ReferenceError: Template is not defined template.register.js?60e4180bd0193951fab290d41493f5036f66240d:2
... 53 more errors:
... mainly "Template is not defined" and "Meteor is not defined"
Line 371 of dynamic_template.js is the following:
UI.registerHelper('DynamicTemplate', Template.__create__('DynamicTemplateHelper', function () {
What's wierd is that if I try to go back with meteor update --release 0.9.3 or 0.9.2, I still have those errors. So I'm stuck, I have to fix those.
Another anoying thing is that everytime I start my meteor server, I get updating package catalog with a progress bar, and my server takes a while (~10s) to start up.
Any ideas?
In 0.9.4 there are changes to the templating API. See HISTORY.md on gihub/meteor/meteor for more details.
The fix for your immediate problem is to replace UI with Template
Template.registerHelper('DynamicTemplate', Template.__create__('DynamicTemplateHelper', function () {

Error after upgraded to Meteor 0.9.1

After upgraded Meteor from 0.9.0.1 to 0.9.1, I got the following errors in console:
Uncaught TypeError: Cannot read property 'registerHelper' of undefined
Uncaught TypeError: Cannot read property 'T9n' of undefined
Uncaught TypeError: Cannot read property 'AccountsEntry' of undefined
Uncaught ReferenceError: Template is not defined
Uncaught ReferenceError: Meteor is not define
Exception in defer callback: ReferenceError: Spacebars is not defined
It seems that the changes are not backwards compatible.
It sounds like you have a package that is not compatible. To check what this is look at your server console.
If you want to brute force your way into getting it to work, git clone the offending package into /packages and it should get it to work (also add it with meteor add xx where xx is the name of the directory in /packages
Additionally rename the following (even though you would not yet have to) to bring it up to date:
UI.registerHelper -> Template.registerHelper
Handlebars.registerHelper -> Template.registerHelper

Resources