[23-Aug-2023 09:44:08 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /data/www/redacted.com/www/wp-content/plugins/custom-field-template/custom-field-template.php:3425
Stack trace: 0 /data/www/redacted.com/www/wordpress/wp-includes/class-wp-hook.php(310): custom_field_template->edit_meta_value() 1 /data/www/redacted.com/www/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /data/www/redacted.com/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /data/www/redacted.com/www/wordpress/wp-includes/post.php(4715): do_action() 4 /data/www/redacted.com/www/wordpress/wp-includes/revision.php(352): wp_insert_post() 5 /data/www/redacted.com/www/wordpress/wp-includes/revision.php(191): _wp_put_post_revision() 6 /data/www/redacted.com/www/wordpress/wp-includes/class-wp-hook.php(310): wp_save_post_revision() 7 /data/www/redacted.com/www/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 8 /data/www/redacted.com/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() 9 /data/www/redacted.com/www/wordpress/wp-includes/post.php(4684): do_action() 10 /data/www/redacted.com/www/wordpress/wp-includes/post.php(4817): wp_insert_post() 11 /data/www/redacted.com/www/wordpress/wp-admin/includes/post.php(439): wp_update_post() 12 /data/www/redacted.com/www/wordpress/wp-admin/post.php(227): edit_post() 13 {main}
thrown in /data/www/redacted.com/www/wp-content/plugins/custom-field-template/custom-field-template.php on line 3425
Cross-Site Request Forgery
It’s been several weeks with no apparent patch/update to fix this issue.
]]>Malcare & Patchstack are reporting that the latest version of this plugin includes a plugin vulnerability.
Is an update pending?
Thank you!
]]>iThemes Security is reporting this plugin as having a security vulnerability. Authors, are you aware of this?
Here is a link to the vulnerability on Patchstack
WordPress Custom Field Template plugin <= 2.5.8 – Cross Site Request Forgery (CSRF) vulnerability – Patchstack
Hi,
Thanks for your great plugin, I’ve been using it for years in some projects.
Is there an option to create a repeater/clone field with this plugin?
Thank you for this. I hope this stays compatible with future versions of WP.
]]>Hello guys, I’d like to have checkboxes I used in Custom Field Template Backend and display them as bullets in the frontend.
Do someone has the a good idea to handle that?
At the moment I simple use that code <?php the_field(‘service’);?> that brings me all the choosen elements from the backend to the frontend like this: service 1, service xy, service 3rd,
But I want to have bullets in the frontend. Like
Hello guys,
I didnt’t find a manuel how to add the data from the plugin in a correct way to the website. Is there any manuel I can use to add the data from the backend to the frontend?
Thank you very much!
]]>PHP?WPのバージョンアップを行ったところ、
繰り返し?textarea の「新規追加」が動かなくなりました。
[fieldset0]
type = fieldset_open
legend = 本文ブロック大
class=accordion
multiple = true
multipleButton = true
[本文1]
type = textarea
rows = 4
cols = 40
htmlEditor = true
tinyMCE = true
blank = true
[fieldset0]
type = fieldset_close
本来複製されるはずのエリアに、以下のように表示されます。
NaNNaNNaNNaN本NaN文NaN1NaNNaNNaNNaNNaNNaN切NaNりNaN替NaNえNaNNaNNaNNaNNaNNaN NaN/NaN/NaN NaNNaN NaNNaNNaN NaN/NaN/NaN NaNNaN NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNフNaNァNaNイNaNルNaNNaN NaNNaNNaNNaNNaNNaNNaNNaN編NaN集NaNNaN NaNNaNNaNNaNNaNNaNNaNNaN表NaN示NaNNaN NaNNaNNaNNaNNaNNaNNaNNaNフNaNォNaNーNaNマNaNッNaNトNaNNaN NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNスNaNタNaNイNaNルNaNNaN NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN&NaNnNaNbNaNsNaNpNaN;NaNNaNNaNNaNNaNNaNNaNNaN NaNPNaNoNaNwNaNeNaNrNaNeNaNdNaN NaNbNaNyNaN NaNNaNTNaNiNaNnNaNyNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN
WPのバージョンアップでhtmlのエディタ部分が変わっているようで、その影響かとは思うのですが???
環境
php7.3, WordPress 5.8.1
php7.0, WordPress 5.7.4
カスタムフィールドテンプレートプラグインを検討しています。
AMP対応しているサイトでも対応していますか?
How can I get more tyniMCE options? I need the link and the listing ones.
]]>by using radio-buttons an error warning is shown:
Warning: count(): Parameter must be an array or an object that implements Countable in …/plugins/custom-field-template/custom-field-template.php on line 2019
This is because of changes in PHP 7.2+
It would be great, if you could handle this with next update.
Thanks a lot!
Again, date-picker calendar stopped appearing after I updated WP to ver. 5.6. It was same phenomenon when I updated to 5.5 some monthes ago. I hope the author Hiroaki Miyashita can repair it.
]]>After updating to WP 5.5, I’ve got some issues composing posts. I installed the jQuery migration plugin, and I got this error:
jQuery Migrate Helper — Warnings encountered
This page generated the following warnings:
https://www.Site.com/wp-content/plugins/custom-field-template/js/jquery.bgiframe.js: jQuery.browser is deprecated
Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.
A fix would be appreciated
]]>Calendar stopped appearing after I updated WP to ver. 5.5. Its still same result after I unabled all other plugins.
The followings is what I write for date picker. It has worked fine untill I updated WP itself.
date=true
dateFormat = yyyy-mm-dd
dateFirstDayOfWeek = 0
Somebody knows how to resolve this issue?
]]>テストサイトでデバッグモードで利用していると、投稿画面のカスタムフィールドテンプレート欄に同じ内容のエラーがでまくります。操作しにくかったり、投稿できなかったりするので修正してください。よろしくお願いします。
以下、表示されるエラーです。
Warning: count(): Parameter must be an array or an object that implements Countable in …/plugins/custom-field-template/custom-field-template.php on line 2104
]]>[File Upload]
type = file
mediaPicker = true
mediaRemove = true
このように設定し、投稿記事のメディアピッカーを選択。
メディアライブラリウィンドウはポップアップしてきますが、該当の画像を指定し、「これを使用する」をクリックしても無反応です。
WordPress5.4.1、Twenty Seventeenバージョン: 2.3、その他プラグインなしの状態で実験しています。
同様の症状の書き込みが過去にもあるようですが、こちら最新版で解決していますでしょうか?
Hello,
many thanks for your work. Using PHP 7.4 I have the following warning:
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in custom-field-template/custom-field-template.php on line 3296
Fixed by changing to square brackets notation.
]]>Hell Team-
Thank you for the awesome plugin. We really enjoy using this.
Recently, i have added modified the “Template Content” to hold html tags as well.
Template Content:
——
[Subhead]
type = textarea
rows=10
cols =35
htmlEditor = true
————-
I am trying to add <iframe> tag in the short description of to display in the blogs list page with iframe player. When i add <iframe> or any tags like it shows -” />- (enclosed by hypen). on the top of the post detail page.
Someone to help to have <iframe> and other tags without having this issue?
It shows error in RSS feed.
When i use “Type = text, Date = True”
i came into a bug that the next CFT is not in new row as usual…
Screenshot 1 from my CFT page,
Screenshot 2 from posts page
pay attention how “1-hour” is in same row with date, while its new option in CFT,
so i had to use “label” function to make it looks in two rows,
this was NOT the case with classic editor!
日本語で失礼します。
Wordpress5.2.3を利用し、Welcart e-Commerce1.9.22の商品ページ内の表示にCustom Field Templateを利用していましたが、2.4.7以降のバージョンではphp記述のif構文を認識せずに空白の表示を吐き出しています。
また、MasterSlider3.5.3を利用して、投稿記事においてMasterSliderのショートーコードと同時にCustom Field Templateのショートコードを呼び出すと、MaterSliderの表示を阻害しているようです。
Custom Field Templateのバージョンを2.4.6に戻すと表示はもどりますが、これは修正が行われないのでしょうか?
]]>Hi,
Latest update 2.4.7 breaks either Widgets On Pages or WP-dTree plugin. I use Widgets On Pages to display WP-dTree and WP-dTree no longer displays.
I had to revert to backup.
Thanks for a great plugin and any help.
Art
]]>I am attempting to deactivate, uninstall & completely remove the Custom Field Template (CFT) plugin from my site. However, even after deactivating, the data from the Custom Field Template fields is still in my database.
Is there a method to completely remove that data?
Thanks for any & all help!
]]>PHP Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘)’ in /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/custom-field-template/custom-field-template.php(3621) : eval()’d code on line 1
]]>下記警告が出ます。
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/vhosts/task.fukuenya.co.jp/httpdocs/wp-content/plugins/custom-field-template/custom-field-template.php on line 1977
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/vhosts/task.fukuenya.co.jp/httpdocs/wp-content/plugins/custom-field-template/custom-field-template.php on line 2070
よろしくお願います。
]]>CSS and javascript are missing from the edit-post pages on WordPress 5.x (Gutenberg) editor.
As you see the function the_block_editor_meta_box_post_form_hidden_fields() in wp-admin/includes/post.php, only input tags are rendered from the output of the action edit_form_advanced.
Style and script tags are ignored unless you use the action block_editor_meta_box_hidden_fields instead.
Hello!
After activate plugin – dashboard blank.
Please help resolve my issue.
Before that, everything worked. Could there be a reason to upgrade the version of Mysql to 5.7?
In the settings under [cft] Shortcode Format, when I click “Update Options” button, it redirects to https://domain.com/wordpress/wp-admin/options-general.php?page=custom-field-template.php
but results in a 404 with the changes not being saved. In other sections like Custom Field Template Options, changes are been saved ok.
本プラグインをカスタム投稿タイプと組み合わせたときに、下記の現象が確認されました。
?カスタム投稿タイプを編集→更新→プレビュー
?プレビューをリロード、もしくはプレビューから任意の別画面へ推移
?保存したカスタム投稿タイプの情報が消える。(db上のデータも削除されている)
?消える情報はcheckboxの項目のみ
おそらく下記の箇所が原因ではないかと思いますが、参考になれば。。。
/plugins/custom-field-template/custom-field-template.php
3,148行目: delete_post_meta($id, $title, $data[‘value’]);
環境:
WordPress5.0.3
カスタムフィールドテンプレート2.4.6
i have this query in PHP CODE (Experimental Option) to select list of items from wp_posts
table to display them in the custom field select input
global $wpdb;
$items = $wpdb->get_results(“SELECT ID, post_title
FROM wp_posts
where post_type=’issues’ order by post_date desc”);
the query was working fine with php5.6 m but when i upgrade to php7.2 became not working
]]>