Error upon selecting 'pages' in 'Assignment'
-
I recently intalled your plugin and with some hours of tinkering I got my snippets to work in Posts. However, whenever I try to select ‘Pages’ in the assignment menu I get an unexpected error saying:
‘Warning: array_shift() expects parameter 1 to be array, null given in /public/sites/www.organisatienetwerk.nl/wp-content/plugins/css-javascript-toolbox/models/block/assignmentpanel/helpers/hierarchical.php on line 83
{“count”:1,”items”:{“”:null},”total”:1}’To avoid the problem and still add my code to pages I tried to select ‘Entire Website’ and ‘All Pages’ in the Auxiliary tab. However, the JS-script that is working like a charm in my posts doesn’t apply to any of my pages.
(I’m using JS to enable users to pan and zoom through an svg like so: https://www.organisatienetwerk.nl/2015/09/02/hallo-wereld/)
Does anybody know a solution to this problem or a work-around?
Thx!
https://www.ads-software.com/plugins/css-javascript-toolbox/
- The topic ‘Error upon selecting 'pages' in 'Assignment'’ is closed to new replies.