Please update the “canvas-icons.woff” file to WOFF2 format. Will be faster for visitors.
]]>Hi CodeSupplyCo.
Can you please update your plugin as we are receiving many JavaScript conflicts with other standard plugins. These are the console errors when installed with PublishPress Blocks plugin:
Uncaught TypeError: can't convert undefined to object
/wp-content/plugins/canvas/gutenberg/index.js?ver=1708631360:6
c /wp-admin/load-scripts.php?c=0&load[chunk_0]=hoverIntent,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.5.4:7
t /wp-includes/js/dist/blocks.min.js?ver=6612d078dfaf28b875b8:19
k /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
a Redux
U /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
D /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
apply /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
ir /wp-includes/js/dist/blocks.min.js?ver=6612d078dfaf28b875b8:19
k /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
a Redux
U /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
D /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
p /wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:2
se /wp-includes/js/dist/blocks.min.js?ver=6612d078dfaf28b875b8:12
Xe /wp-includes/js/dist/block-library.min.js?ver=d124c0efe2b7eb5bf914:12
E_ /wp-includes/js/dist/block-library.min.js?ver=d124c0efe2b7eb5bf914:14
sB /wp-includes/js/dist/block-library.min.js?ver=d124c0efe2b7eb5bf914:14
sB /wp-includes/js/dist/block-library.min.js?ver=d124c0efe2b7eb5bf914:14
advgbGetBlocksFeature wp-content/plugins/advanced-gutenberg/assets/js/main.min.js?ver=3.2.2:1
/wp-admin/admin.php?page=advgb_block_access:2766
index.js:6:186502
Uncaught TypeError: can't access property "layouts", y is undefined
112 /wp-content/plugins/canvas/layouts/extension/index.js?ver=1708631360:1
58 index.js:1:3508
Thanks.
]]>You are using the getPostTypes
function from the core package and by default it has pagination enabled. Because of this, when post type select loads the post types it can only show the post types with viewable=true
in the first 10 results. If there is another custom post types which are publicly queryable they won’t show in the select box.
@bastho and @heisel respectively created two1 2 similar topics in the past. None of them got a response. @bastho even provided the fix;
It can be easily fixed by removing the implicit limit in gutenberg/components/post-type-selector-control/index.jsx line 60
replace:
const postTypes = getPostTypes();
by:
from @bastho’s support request.const postTypes = getPostTypes({ per_page: -1 });
Or, for a better solution you can use usePublicPostTypes
from Gutenberg project. Here it is.
Cheers!
]]>I have installed the Plugin and get this error in my debug.log:
[10-Jan-2024 16:09:09 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/golfsportmagazine/wp-content/plugins/canvas/gutenberg/utils/is-field-visible/index.php on line 122
]]>[13-Oct-2023 03:31:45 UTC] PHP Notice: Function WP_Scripts::localize was called incorrectly. The $l10n
parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script()
function instead.
I’d like to allow certain html tags (italics, bold, links) in manual excerpts. This works fine on archive pages, but with your Posts block, the html gets escaped and is rendered like this on the published page:
I don’t <em>consciously</em>
The actual HTML ends up looking like this:I don’t <em>consciously</em>
Is there any way to allow the HTML for that block?
Hi, thank you for this great plugin.
As figured in Query settings by @heisel, there is a limitation in the number of post types.
I have a legacy website with almost 10 custom post types and only one is selectable.
It can be easily fixed by removing the implicit limit in gutenberg/components/post-type-selector-control/index.jsx line 60
replace:
const postTypes = getPostTypes();
by:
const postTypes = getPostTypes({ per_page: -1 });
Could you implement it?
]]>Canvas is not allowing AMP compatable code to be generated and thus causes any AMP page canvas to fail validation.
Canvas is “suppressed” in the AMP generator yet still shows as error causing. Here is some raw validation data, as provided by the AMP plugin:
[
{
"url": "https://infinitestart.com/2023/08/celebrate-waffle-day-with-a-special-24-hour-playstation-stars-collectible/",
"type": "is_singular[post]",
"label": "Post",
"amp_url": "https://infinitestart.com/2023/08/celebrate-waffle-day-with-a-special-24-hour-playstation-stars-collectible/amp/",
"validation_errors": [
{
"node_name": "script",
"parent_name": "head",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-includes/js/jquery/jquery.min.js?ver=normalized",
"id": "jquery-core-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "justifiedgallery",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-tabs.php",
"line": 24,
"function": "CNVS_Block_Tabs::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-tabs-script",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-collapsibles.php",
"line": 24,
"function": "CNVS_Block_Collapsibles::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-collapsibles-script",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-alert.php",
"line": 24,
"function": "CNVS_Block_Alert::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-alert-script",
"dependency_handle": "jquery-core"
}
]
},
{
"node_name": "script",
"parent_name": "head",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=normalized",
"id": "jquery-migrate-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "justifiedgallery",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-tabs.php",
"line": 24,
"function": "CNVS_Block_Tabs::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-tabs-script",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-collapsibles.php",
"line": 24,
"function": "CNVS_Block_Collapsibles::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-collapsibles-script",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-alert.php",
"line": 24,
"function": "CNVS_Block_Alert::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-alert-script",
"dependency_handle": "jquery-migrate"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/basic-elements/block-alert/public-block-alert.js?ver=normalized",
"id": "canvas-block-alert-script-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-alert.php",
"line": 24,
"function": "CNVS_Block_Alert::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-alert-script"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/basic-elements/block-collapsibles/public-block-collapsibles.js?ver=normalized",
"id": "canvas-block-collapsibles-script-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-collapsibles.php",
"line": 24,
"function": "CNVS_Block_Collapsibles::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-collapsibles-script"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/basic-elements/block-tabs/public-block-tabs.js?ver=normalized",
"id": "canvas-block-tabs-script-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-tabs.php",
"line": 24,
"function": "CNVS_Block_Tabs::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-tabs-script"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/justified-gallery/block/jquery.justifiedGallery.min.js?ver=normalized",
"id": "justifiedgallery-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery",
"dependency_handle": "justifiedgallery"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "justifiedgallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"id": "canvas-justified-gallery-js-extra"
},
"text": "\nvar canvasJG = {DOUBLE_QUOTED_STRING:DOUBLE_QUOTED_STRING};\n",
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"extra_key": "data",
"text": "var canvasJG = {\"rtl\":\"\"};",
"handle": "canvas-justified-gallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/justified-gallery/block/public-block-justified-gallery.js?ver=normalized",
"id": "canvas-justified-gallery-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-includes/js/imagesloaded.min.js?ver=normalized",
"id": "imagesloaded-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "imagesloaded"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity",
"dependency_handle": "imagesloaded"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/slider-gallery/block/flickity.pkgd.min.js?ver=normalized",
"id": "flickity-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "flickity"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"id": "canvas-slider-gallery-js-extra"
},
"text": "\nvar canvas_sg_flickity = {DOUBLE_QUOTED_STRING:DOUBLE_QUOTED_STRING};\n",
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"extra_key": "data",
"text": "var canvas_sg_flickity = {\"page_info_sep\":\" of \"};",
"handle": "canvas-slider-gallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/slider-gallery/block/public-block-slider-gallery.js?ver=normalized",
"id": "canvas-slider-gallery-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery"
}
]
}
],
"stale": false
},
{
"url": "https://infinitestart.com/popups/",
"type": "is_singular[page]",
"label": "Page",
"amp_url": "https://infinitestart.com/popups/amp/",
"validation_errors": [
{
"node_name": "script",
"parent_name": "head",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-includes/js/jquery/jquery.min.js?ver=normalized",
"id": "jquery-core-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "justifiedgallery",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-tabs.php",
"line": 24,
"function": "CNVS_Block_Tabs::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-tabs-script",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-collapsibles.php",
"line": 24,
"function": "CNVS_Block_Collapsibles::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-collapsibles-script",
"dependency_handle": "jquery-core"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-alert.php",
"line": 24,
"function": "CNVS_Block_Alert::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-alert-script",
"dependency_handle": "jquery-core"
}
]
},
{
"node_name": "script",
"parent_name": "head",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=normalized",
"id": "jquery-migrate-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "justifiedgallery",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-tabs.php",
"line": 24,
"function": "CNVS_Block_Tabs::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-tabs-script",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-collapsibles.php",
"line": 24,
"function": "CNVS_Block_Collapsibles::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-collapsibles-script",
"dependency_handle": "jquery-migrate"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-alert.php",
"line": 24,
"function": "CNVS_Block_Alert::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-alert-script",
"dependency_handle": "jquery-migrate"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/basic-elements/block-alert/public-block-alert.js?ver=normalized",
"id": "canvas-block-alert-script-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-alert.php",
"line": 24,
"function": "CNVS_Block_Alert::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-alert-script"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/basic-elements/block-collapsibles/public-block-collapsibles.js?ver=normalized",
"id": "canvas-block-collapsibles-script-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-collapsibles.php",
"line": 24,
"function": "CNVS_Block_Collapsibles::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-collapsibles-script"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/basic-elements/block-tabs/public-block-tabs.js?ver=normalized",
"id": "canvas-block-tabs-script-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/basic-elements/class-block-tabs.php",
"line": 24,
"function": "CNVS_Block_Tabs::init",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-block-tabs-script"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/justified-gallery/block/jquery.justifiedGallery.min.js?ver=normalized",
"id": "justifiedgallery-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery",
"dependency_handle": "justifiedgallery"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "justifiedgallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"id": "canvas-justified-gallery-js-extra"
},
"text": "\nvar canvasJG = {DOUBLE_QUOTED_STRING:DOUBLE_QUOTED_STRING};\n",
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"extra_key": "data",
"text": "var canvasJG = {\"rtl\":\"\"};",
"handle": "canvas-justified-gallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/justified-gallery/block/public-block-justified-gallery.js?ver=normalized",
"id": "canvas-justified-gallery-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/justified-gallery/class-block-justified-gallery.php",
"line": 24,
"function": "CNVS_Block_Justified_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-justified-gallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-includes/js/imagesloaded.min.js?ver=normalized",
"id": "imagesloaded-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "imagesloaded"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity",
"dependency_handle": "imagesloaded"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/slider-gallery/block/flickity.pkgd.min.js?ver=normalized",
"id": "flickity-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery",
"dependency_handle": "flickity"
},
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "flickity"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"id": "canvas-slider-gallery-js-extra"
},
"text": "\nvar canvas_sg_flickity = {DOUBLE_QUOTED_STRING:DOUBLE_QUOTED_STRING};\n",
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"extra_key": "data",
"text": "var canvas_sg_flickity = {\"page_info_sep\":\" of \"};",
"handle": "canvas-slider-gallery"
}
]
},
{
"node_name": "script",
"parent_name": "body",
"code": "DISALLOWED_TAG",
"type": "js_error",
"node_attributes": {
"src": "https://infinitestart.com/wp-content/plugins/canvas/components/slider-gallery/block/public-block-slider-gallery.js?ver=normalized",
"id": "canvas-slider-gallery-js"
},
"node_type": 1,
"sources": [
{
"type": "plugin",
"name": "canvas",
"file": "components/slider-gallery/class-block-slider-gallery.php",
"line": 24,
"function": "CNVS_Block_Slider_Gallery::block",
"hook": "init",
"priority": 10,
"dependency_type": "script",
"handle": "canvas-slider-gallery"
}
]
}
],
"stale": false
}
]
Any thoughts, suggestions, and/or solutions on how to resolve this would be helpful.
Thanks in advance.
]]>I would like to ask if it is possible, or if it would be possible to ask in the next update to disable unnecessary components in the Canvas plugin? I’m now reviewing the list of loaded files on my site and there are an awful lot of css files, modules loaded that I don’t use.
]]>Hi there,
we have a problem with the canvas plugin and our wordpress system. Since about 3 weeks no more pages can be edited, on which an element of the plugin is located. If you go to edit, it looks like it loads, but stops immediately (screenshot attached). For pages that do not have an element of the Canva plugin on them, editing works fine. As a result, we are currently unable to update our website, which needs to be fixed urgently. Are you aware of such a problem and if so, when will there be an update to fix it? Or what can you do alternatively to fix this problem?
Best regards, Sophia
hello, I wonder if only the necessary css are loaded in the pages or all of them even if they are not used
]]>I just re-installed* Authentic theme on my WP site and noticed that when I try to create new posts, it leads to an ERR_HTTP2_PROTOCOL_ERROR message.
I tested each plugin and Canvas was the problem. Deactivated it and everything seems to be working fine.
I’m using a business level GoDaddy hosting (one of their best options, supposedly.)
We can live without Canvas, but maybe there’s something to do about it. Any idea will be very much appreciated.
* I had to stop using it after the very first time they introduced Canvas due to similar issues, although that time the entire page broke.
]]>Hello, it might be strange asking this question here, but i will try.
This is my query, it’s so simple (the query is generated by canvas plugin)
this is only an example of what the query var contain
$query_var = [
'post_type' => 'new',
'orderby' => 'date',
'order' => 'DESC',
'paged' => $paged,
'posts_per_page' => 3
];
$query = new WP_Query($query_var);
when i press the load more button, it shows me duplicated posts randomly, although the posts aren’t duplicated in the db
This is the generated SQL query
SELECT SQL_CALC_FOUND_ROWS eepir_posts.ID FROM eepir_posts INNER JOIN eepir_postmeta ON ( eepir_posts.ID = eepir_postmeta.post_id ) WHERE 1=1 AND eepir_posts.ID NOT IN (2405,101648,101576,101582,101586,101598,123796,107475,107695,123304,102506,102126,102034,102573,119231,123818,103813,85842,86197,86087,126258,126266,111468,111492,97183,124539,99686,99667,99642,99628) AND ( \n ( eepir_postmeta.meta_key = 'is_english' AND eepir_postmeta.meta_value != '1' )\n) AND eepir_posts.post_type = 'new' AND ((eepir_posts.post_status = 'publish')) GROUP BY eepir_posts.ID ORDER BY eepir_posts.post_date DESC LIMIT 3, 3
i notic that when i change the orderby arg to something else, like orderby ID
$query_var = [
'post_type' => 'new',
'orderby' => 'ID',
'order' => 'DESC',
'paged' => $paged,
'posts_per_page' => 3,
];
it works fine.
how can i fix this?
Thank you
Hi,
Is there a limitation to how many content types you can work with in Query Settings when inserting a block?
I have created 3 additional content types – All with same configuration and open for REST API, but it only shows 2 of them.
I have tried several other combitations and added even more to test, but only two appears.
Is this plugin documented anywhere? the link to https://codesupply.co/cnvs/ returns a 404.
Thanks,
Corey
]]>Last version to be updated to 2.2.8 Added compatibility with php 8.0.
I still don’t have php 8 ( have 7.4.8) .
Can I upgrade without problem / crash / bug ?
I am getting this error in search console. Even if I remove the cache plugin, it doesn’t fix it. If I just remove the canvas plugin the error goes away. (In the mobile compatibility test, it says mobile-friendly, but not in the search console.)
]]>Hi, I’ve recently installed the Authentic theme which includes Canvas. Unfortunately whenever I add columns the first column is always aligned out of place than the rest of the columns.
Does anyone know why? Thanks!
]]>Since I updated to the latest version of Canvas, suddenly certain editor features don’t work. If I duplicate a page, and then go to edit it, as soon as I enter the page the whole thing freezes, until I get “this page is unresponsive” error. The same thing happens when I go to add a reusable block to a new page.
I tried de-activating the plugin and everything worked again. When I re-active things don’t.
]]>Hey there!
I was wondering: how can I insert inline posts with Canvas? I still haven’t found the option to do it, so I keep on using the Powerkit shortcodes.
Thank you!
]]>Hi!
Thank you for creating an awesome theme and page builder.
I just can’t get it to work as I want to.
I want to make more of a static page, rather than a page with posts.
However, the cover image blocks and hero header don’t seem to accept what I am looking for.
If possible, the cover images should be full width, without changing the lay-out of the text, but reach to the sides of the canvas.
Besides that, I am having some trouble with the Woo columns, of which I can’t find a solution anywhere. Both in the storefront, as well as in the manual input on the homepage using shortcode [products per_page=”4″ columns=”4″] the front-end doesn’t accept 3/4 columns, just 2.
Hopefully someone is able to get a quick fix for these problems or is familiar with the issue!
Thanks in advance for the reply.
]]>I’ve built my Newsblock’s homepage using Canvas, but the top part of it, with my featured posts, doesn’t work with WordPress’ sticky posts feature and I really need it to.
Is there a query filter/hook I can customize to make that work, please? Where should I look for in Canvas’ files?
Thanks.
]]>Help help
how to design blogpost page using canvas
]]>Hello! Total newb here. Thanks for the help. ??
I have a customer that has a wordpress website and uses the Canvas theme. The Canvas theme has default settings for the contact page. This includes a form that has a math captcha built into it. I’ve got it setup now to display Contact Form 7 and a ReCAPTCHYA but I can’t figure out how to get it to stop displaying the old default contact form with the math captcha. Can anyone point me in the right direction to fix it? I’d like to keep all the map and other info that goes with the Canvas Contact page info.
]]>Hi, I’m trying to update to version 2.1.5
getting a fatal error:
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(/www/wp-content/plugins/canvas/gutenberg/block_renderer_controller.php): failed to open stream: No such file or directory in /www/wp-content/plugins/canvas/core/class-canvas-gutenberg.php on line 13 Fatal error: require_once(): Failed opening required ‘/www/wp-content/plugins/canvas/gutenberg/block_renderer_controller.php’ (include_path=’.:/usr/share/php’) in /www/wp-content/plugins/canvas/core/class-canvas-gutenberg.php on line 13
]]>I’m trying to create a page but when I go to use the editor it doesn’t load?
]]>i edit canvas plugin for display the right Caption image
from :
$caption = wp_get_attachment_caption( $img );
To :
$caption = wp_get_attachment_caption( apply_filters( 'wpml_object_id', $img , 'attachment', TRUE) );
Is there another way ??
Thanks
Hi, I am using Wp 5.5 Beta version and with this plugin, the Editor Won’t load.
]]>Hi the tab function only works for 2 tabs 3 and onward do not work once you add text or short codes.
]]>Hello,
I’ve recently wondered why my new page with Authentic Theme and the recommended plugins had such a bad performance. I profiled it with WP-CLI (https://github.com/wp-cli/profile-command) and found out the culprit was the Canvas plugin. Could you please look in to this as this plugin really should not make any impact on frontend performance whatsoever.
I bought the Authentic Theme as I remembered using it some years ago and liking it because of the clean, performant code and slick theme. Seems like nowadays it is sadly as bloated as every other WP theme out there.
Please take a look into this, as this is critical (Canvas taking ~1.5s uncached of initial WP load time is not acceptable).
]]>