• Resolved Ninos

    (@ninos-ego)


    Hey there,
    in combination with the visual composer I get following javascript errors on a custom product type:

    ReferenceError: wpseoPostScraperL10n is not defined[Weitere Informationen]  wp-seo-post-scraper-380.min.js:1:20844
    	A https://example.tld/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-380.min.js:1:20844
    	F https://example.tld/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-380.min.js:1:21859
    	n.Callbacks/i https://example.tld/wp-admin/load-scripts.php:2:27444
    	n.Callbacks/j.fireWith https://example.tld/wp-admin/load-scripts.php:2:28213
    	.ready https://example.tld/wp-admin/load-scripts.php:2:30004
    	K https://example.tld/wp-admin/load-scripts.php:2:30366
    TypeError: i is undefined[Weitere Informationen] editor.min.js:1:434
    	d https://example.tld/wp-admin/js/editor.min.js:1:434
    	vc.Storage.prototype.setContent https://example.tld/wp-content/plugins/js_composer/assets/js/dist/backend.min.js:6:5298
    	vc.Storage.prototype.save https://example.tld/wp-content/plugins/js_composer/assets/js/dist/backend.min.js:6:4392
    	vc.Storage.prototype.update https://example.tld/wp-content/plugins/js_composer/assets/js/dist/backend.min.js:6:2530
    	vc.shortcode<.sync https://example.tld/wp-content/plugins/js_composer/assets/js/dist/backend.min.js:6:9464
    	.save https://example.tld/wp-admin/load-scripts.php:351:7287
    	.create https://example.tld/wp-admin/load-scripts.php:351:12555
    	vc.AddElementUIPanelBackendEditor<.createElement https://example.tld/wp-content/plugins/js_composer/assets/js/dist/backend.min.js:3:24246
    	bound  self-hosted
    	n.event.dispatch https://example.tld/wp-admin/load-scripts.php:3:12392
    	n.event.add/r.handle https://example.tld/wp-admin/load-scripts.php:3:9156

    In combination with yoast seo I cannot add textboxes to a column anymore.

    The custom post type has following setting (should not be relevant):

    'public'              => false,
    					'exclude_from_search' => true,
    					'publicly_queryable'  => false,
    					'show_ui'             => true,
    					'show_in_menu'        => true,
    					'hierarchical'        => false,
    					'has_archive'         => false,
    					'query_var'           => true

The topic ‘JavaScript error on custom post type with visual composer’ is closed to new replies.