Hello, I am Japanese and cannot use English, so I am writing this text using a translation site. Therefore, there may be cases where the text may not be understood by you. Please understand in that case. I apologize in advance.
Also, my programming level is only a little more competent than a beginner, so I apologize if I have misjudged the story.
Now, I am using ��CJT PLUS�� and when I upgrade the PHP version to 8 or later, I get some errors.
I know you are busy, but if you have any solutions or suggestions, could you please let me know? Thank you in advance.
original��
����ˤ��ϡ�˽���ձ��ˤǡ�Ӣ�Z��ʹ���ʤ����ᡢ���U�����Ȥ��ä��Ƥ������¤�����Ƥ��ޤ������Τ��ᡢ���ʤ��ˁ�������¤ˤʤäƤ��ʤ����Ϥ����뤫�⤷��ޤ������H�Ϥ��˳Ф������������餫���ᡢ��Ԍ�Ӥ������ޤ���
�ޤ���˽�Υץ�����ߥ�٥�ϳ����ߤ���٤��Ǥ���̶Ȥ����������ʤ����ᡢҊ���`����Ԓ�Ƥ������Ϥϡ��ꤷ�U����ޤ���
���ơ�˽�ϡ�CJT PLUS����ʹ�ä��Ƥ��ޤ�����PHP�Щ`������8�Խ��˥��åץ���`�ɤ���ȡ������Ĥ��Υ���`���k�����ޤ���
1.����Warning: Attempt to read property “ID” on null in /home/����/css-javascript-toolbox/controllers/blocks-coupling.php on line 436��
���Υ���`�ϡ�wp�ξ���������ƄӤ����H��ʾ���졢ԓ������javaScript��һ�������֤����Ӥ��ʤ�״�r�Ȥʤ�ޤ�����JS��ajax�����֤��Ӥ��ʤ��ʤɣ�
�٤�������`��ԭ���̽�äƤߤ��[Aux]��[Website Backend]�˥����å����������Ӥ�����ȱ�ʾ����뤳�ȤޤǤϡ�ͻ��ֹ��ޤ��������������ϥ���`�����������g��˽�ˤϤ狼��ޤ���Ǥ�����
����ϡ�CJT PLUS�Υץ饰��������Ά��}��ǤϤʤ��Ǥ�����
���ʤߤˡ�php�ΥЩ`������php7.4.33�ʤɤ�8��ǰ�ΥЩ`�����ˑ����ȡ�����`�ϱ�ʾ���줺��ԓ������javaScript��CSS�φ��}�ʤ�����?�m�ꤷ�ޤ���
���}���Q���뷽�����֤���ޤ����顢�̤��Ƥ����������������������ޤ���
2.����Undefined array key “9001” in /home/����/css-javascript-toolbox/framework/php/evaluator/evaluator.inc.php(51) : eval()’d code on line 122��
��Undefined array key���䡸Uninitialized string offset ���Υ���`��PHP�Щ`�����8�Խ��˥��åץ���`�ɤ�����l�k���Ʊ�ʾ����ޤ����������Υ���`�ϡ������ǥ���`��������رܤ��뤳�Ȥǡ��F�ڤΤȤ���ȫ�ƥ���`������Ǥ��ޤ�����
�����Υ���`�ϡ�php8�Խ��Ǥ�δ���x��δ���ڻ����ܤ���������php����ǰ�Ǥϕ����˄I������Ƥ��ơ����Ӥ��Ƥ��������Ƥ�������Ǥ��礦��������Ȥ⡸CJT������CJT PLUS���Υץ饰����ˆ��}������ΤǤ��礦����
��æ�����Ȥ�˼���ޤ�������Q�����䤴��Ҋ������ޤ����顢�̤��Ƥ�館�ʤ��Ǥ��礦���������������������ޤ���
]]>Hi There, When CSS & JavaScript Toolbox plugin enabled its causing issues with Yoast SEO plugin sitemap. When I try to access the sitemap is showing the below error.
This page contains the following errors:
error on line 1 at column 7: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error.
The sitemap is loading fine when the plugin is disabled. Could you please check.
]]>Updating from V11.9.1 to V12.0 broke my site.
I managed to recover by disabling the pkugin via SSH and downgrading but would like to see a fix.
]]>I’ ve got following errors if I update to PHP 8.1
Deprecated: Return type of CJTIncludes::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php on line 109
Deprecated: Return type of CJTIncludes::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php on line 118
Deprecated: Return type of CJTIncludes::offsetSet($key, $path) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php on line 127
Deprecated: Return type of CJTIncludes::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php on line 136
Deprecated: Return type of CJTEESubject::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/events/subjects/subject.subject.php on line 60
Deprecated: Return type of CJTEESubject::offsetExists($callback) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/events/subjects/subject.subject.php on line 153
Deprecated: Return type of CJTEESubject::offsetGet($callback) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/events/subjects/subject.subject.php on line 165
Deprecated: Return type of CJTEESubject::offsetSet($key, $callback) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/events/subjects/subject.subject.php on line 178
Deprecated: Return type of CJTEESubject::offsetUnset($callback) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/events/subjects/subject.subject.php on line 190
Deprecated: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/mvc/controller.inc.php on line 122
Deprecated: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/mvc/controller.inc.php on line 122
Warning: Cannot modify header information – headers already sent by (output started at /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php:9) in /home/www/dl2fbo/wp-admin/includes/misc.php on line 1431
Warning: Cannot modify header information – headers already sent by (output started at /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php:9) in /home/www/dl2fbo/wp-includes/functions.php on line 7049
Warning: Cannot modify header information – headers already sent by (output started at /home/www/dl2fbo/wp-content/plugins/css-javascript-toolbox/framework/php/includes.class.php:9) in /home/www/dl2fbo/wp-admin/admin-header.php on line 9
Hi, I am using the plugin: CSS & JavaScript Toolbox, and in a piece of php code I want to read a file. When I first check if the file exists with file_exists(), and the file does not exists, my website does respond anymore. Only when I put the file there, it starts responding again. In the logging I see that it keeps trying to check if the file exists forever.
Hope you can help…
]]>We have just released CJT version 11.9 that fixes the XSS vulnerability in shortcodes and code blocks. Thanks
]]>We have just released a critical update for CJT and CJT PLUS addressing an XSS vulnerability, which was detected by Wordfence and a number of other security plugins.
]]>Here’s what Wordfence is reporting today for this plugin:
Any word on a fix?
]]>Hi there,
Currently I’m using CSS & JavaScript Toolbox, I’m getting this errors,
https://imageupload.io/DEeSc1Cg4qMrRMb
My server and WordPress configurations give bellow:
https://imageupload.io/Qp0gX9muVGWZDB5.If there any suggestions for me please let me know.
Thank You
Installed the CJT plug-in earlier today and couldn’t get it to function. Finally figured out that it wasn’t saving my code in any code block I created. It will save the code block frame (i.e. the name of the code block), just not the code I write. I’ve saved plenty of times and I thought it was saving, but I should have realized it was failing when the save button didn’t stop flashing. I’ve tried deactivating and reactivating. I’ve also tried uninstalling and reinstalling.
Another reason I should have thought there was a save issue is that no code appeared in the source on the page. The source did include a start comment, span for shortcode, and an end comment, but nothing else.
The plug-in has great potential, but only if it will save the code written. Is there anything I’m missing?
]]>I get a 404 page with “Notice: Trying to get property ‘ID’ of non-object”.
—–
Notice: Trying to get property ‘ID’ of non-object in /PATH/wp-content/plugins/css-javascript-toolbox/controllers/blocks-coupling.php on line 436
—–
Anyone have the same phenomenon?
]]>Hi I’m trying to use your code snippets to add a WordPress Ajax action, and it just gets 400. I’ve tried various differet JavaScript syntaxes for this and proven that the WordPress action is registered (via do_action). The URL is also correct.
PHP Code block (using CJ Toolbox)
function my_action() {
echo "no bananas";
wp_die();
}
// AJAX handling to get javascript returns
add_action( 'wp_ajax_my_action', 'my_action' );
add_action( 'wp_ajax_nopriv_my_action', 'my_actionX' );
Javascript call
var data = {
action: ‘my_action’,
whatever: 1234
};
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
jQuery.post(ajaxmw, data, function(response) {
alert(‘Got this from the server: ‘ + response);
});
`
Chrome Says : https://www.MYDOMAIN.co.uk/wp-admin/admin-ajax.php 400
Any help would be greatly appreciated.
]]>It does not look like the screenshots on the plugin page and I cannot choose where it goes. What you call is “assignment panel” does not appear. What is wrong?
]]>Hi,
I am a beginner doing WordPress site and I would like to place Dropdown selector where visitor would choose year and for for each year is Tablepress with shortcode for example [table id=24 /]. Now I have each tables inserted in each tab.
Also, I am totaly beginner in Javascript, so if you have any advice, pls put all step by step…
Link: [ redundant link removed ]
Any sugestion?
best regards
]]>We use this plugin on several sites with no issue. With the last few sites, we’ve run into issues creating new blocks. We see “0” whenever we click to “Create” button. Any ideas how we can track down the culprit?
EDIT: Resolved! The issue was being caused by the plugin’s jQuery dependency. The theme we are using recently released an upgrade that allowed us to determine if jQuery is loaded in the header or footer. We have found that if we load jQuery in the footer then we run into issues with CSS & JavaScript Toolbox on the admin side.
]]>Thanks for Help ??
]]>I just want to say that I uploaded this plugin and it gave an error message and never showed up in my plugins folder. Maybe you should put a warning that there is a problem and it can’t be uploaded?
]]>I tried clearing cache and server cache, but nothing is there. I had about 56 blocks. Have been using it for several years, currently running version 11.4
]]>When I try to create new block with another name, it creates duplicate block with the same id and name. After then I can not do nothing.
Before that it stands by on creation modal.
https://www.awesomescreenshot.com/image/12759550?key=d15c01cce7a9e7c76dd889b3169250f1
I do not know why, and try to delete duplicated data. But it still remains error when try to create 2 new ones.
Could you check this?
]]>We want to be able to configure our websites in advance and/or present the features to our customers if they are interested in purchasing the plus version.
]]>Hello,
Company recently bought this plugin, and all is fine, but one thing. This error popped up:
[STDERR] WordPress errore sul database You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') LEFT JOIN wpnq_cjtoolbox_plus_block_pintype pt ON blocks.
id= pt.
bloc…’ at line 1 per la query SELECT blocks.id,blocks.owner,blocks.name,blocks.pinPoint,blocks.location,blocks.links,blocks.expressions,0 as blocksGroup FROM wpnq_cjtoolbox_blocks blocks LEFT JOIN wpnq_cjtoolbox_block_pins pins0 ON blocks.id = pins0.blockId AND pins0.pin=’categories’ AND pins0.value IN( ) LEFT JOIN wpnq_cjtoolbox_plus_block_pintype pt ON blocks.id
= pt.blockId
WHERE ( ( ( backupId IS NULL ) AND ( state = “active” ) ) AND ( ( pt.pinName = ‘category’ AND pt.invert = 1 ) ) AND ( ( ( pins0.pin IS NULL ) AND ( pins0.value IS NULL ) ) ) ); fatta da require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, CJTBlocksCouplingController->initCoupling, CJTBlocksCouplingController->getBlocks, CJTCouplingModel->getPinsBlocks, apply_filters(‘cjt-blocks-coupling-model-blocks-queue’), WP_Hook->apply_filters, CJTPlusHooksCJTBlockAssignmentNegative->_blocksQueue`
Any help would be appreciated.
]]>I have a set of Javascript test code that can be successfully assigned and confirmed on the front end when assigning to whole website or a page or Catagory, etc. HOWEVER, the same test code cannot be assigned to a URL…which of course is the only reason we purchased the product.
How can we get CJT Plus to actually assign JS code to a specific URL?
Thx,
Gary
trialing update to php8.0 (wp 5.6.2, ubuntu 20.04), i get this error:
NOTICE: PHP message: PHP Fatal error: Uncaught Error: Unknown named parameter $observer in /app/wp-content/plugins/css-javascript-toolbox/framework/events/subjects/subject.subject.php:227"
fired from
/app/wp-includes/class-wp-hook.php(287): CJTEESubject->trigger()
if ($this->processFilter($observer)) {
// Pass observer referecne along with user params!!
$this->result['params']['observer'] = $observer;
$this->result['return'] = call_user_func_array(array($observer, 'trigger'), $this->result['params']);
// Prepare parameters based on the previous call result!
$this->prepareResultParameters();
}
any comment on how i can work around this?
https://php.watch/versions/8.0/named-parameters#named-params-call_user_func_array
shows what is wrong/needs to be changed.
]]>I was using the plugin normally and after a few days the panel disappeared in my admin how can I solve it?
before the error
after the error
]]>
Hi thanks for your plugin!
i have a question with your plugin can i insert code within theme pages without actually duplicating php pages in child theme?
Is it really possible with your plugin, to write code in the desired line for example of the theme article page, without duplicating it?
I hope I was clear.
Thank you
I’ve updated my CSS JS plugin to the latest version 11.2, WordPress is version 5.6 and I’ve moved PHP to 7.4 (but I’ve also tried 5.6, 7.0, 7.1, 7.2 and 7.3).
I can’t run the CJT Installation Procedure, I just get a Critical Error wordpress page.
I get no errors in the logs. PHP memory is 2048MB. I’ve cleared htaccess of anything other than the basics.
The only thing I notice is in the console, a 500 error on admin.php?page=cjtoolbox line 1.
Any ideas how to progress, or what to check?
Thanks,
Nick
Hi if use categories option will the code appear in all the post that belong to that category?
]]>After update 11 the plugin does not appear on the screen. Code pages continue, but do not work. (Note, I read about the PHP version, mine is 7.3). What can it be? Thanks.
]]>UPGRADED TO VERSION 11?
If you have upgraded to the latest version 11, you will need to clear and refresh your browser cache to pull in the new scripts and stylesheets. This includes, clearing out and purging any caches made by third-party cache plugins. This version now supports PHP versions 7.0 or higher to make it even more compatible with earlier versions.
CJT: CSS & JavaScript Toolbox need PHP version 7.3 or greater to operate properly. Please ask your hosting provider to update the PHP version.
Current PHP Version: 7.2.24-0ubuntu0.18.04.6
I am using php 7.2 as it is supported by ubuntu 18.04 LTS. What functionality am i supposedly missing out on?
]]>