Radovan
Forum Replies Created
-
My support for the paid version has expired. So it doesn’t help if I open a new ticket on https://support.fs-code.com.
I have informed you that the plugin has this problem in the hope that you will fix it.
And one more thing, I’m constantly getting warnings from regarding Solid Security, related to:
Known Vulnerabilities
WordPress FS FS Poster plugin <= 6.5.8 – Cross Site Request Forgery (CSRF) vulnerability
BUG REPORT – FS POSTER
Issue: PHP Warning in Logs section – “Undefined array key username”
File: App/Pages/Logs/Controllers/Ajax.php:299Current behavior:
- Direct access to $node[‘username’] without verification
- Error occurs after adding multiple accounts
- Clearing logs temporarily fixes the issue
Root cause:
- In report3_data() function, $node[‘username’] is accessed directly
- Some social networks don’t provide username field
- No fallback for missing username values
Impact:
- Logs section becomes unusable
- Post operations continue to work
- Error reappears after new posts
Steps to reproduce:
- Add multiple social accounts (FB, LinkedIn)
- Make successful posts
- Try to view logs
- Clear logs – error disappears
- Make new posts – error returns
Environment:
- WordPress 6.x
- PHP 8.3
- Latest FS Poster version
Full error log.
load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5 JQMIGRATE: Migrate is installed, version 3.4.1
query-monitor.js?ver=3.16.4:390 PHP Errors in Ajax Response
query-monitor.js?ver=3.16.4:400 {key: ‘baa70694332630179dc507e26a24b167’, type: ‘warning’, message: ‘Undefined array key “username”‘, file: ‘wp-content/plugins/fs-poster/App/Pages/Logs/Controllers/Ajax.php’, line: 299,?…}
(anonymous) @ query-monitor.js?ver=3.16.4:400
dispatch @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
v.handle @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
trigger @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
l @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
load
send @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
ajax @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e. @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
ajax @ fsp.js?version=6.6.5:449
FSPLoadLogs @ fsp-logs.js?version=6.6.5:196
(anonymous) @ fsp-logs.js?version=6.6.5:167
e @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
t @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
setTimeout
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
c @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
add @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e. @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
then @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
ce.fn.ready @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ fsp-logs.js?version=6.6.5:6
(anonymous) @ fsp-logs.js?version=6.6.5:180Forum: Plugins
In reply to: [Calculated Fields Form] Form for collecting star ratingsThanks for your reply.
I finally found a convenient solution, which is a combination between a Radio button, CSS and JS.Best regards,
Radovan D.
Forum: Plugins
In reply to: [Calculated Fields Form] Form for collecting star ratingsThank you for your response. For me, it is sufficient to choose the rating (number of stars) and send this rating via email.
I tried a combination of HTML fields, JS, and CSS.
See the code below.
It almost works. At the moment, the problem is that the number of stars is not being transmitted correctly.
HTML code:
<div class="cffo-star-rating">
<input type="radio" id="star5" name="rating" value="5" /><label for="star5" title="5 stele">★</label>
<input type="radio" id="star4" name="rating" value="4" /><label for="star4" title="4 stele">★</label>
<input type="radio" id="star3" name="rating" value="3" /><label for="star3" title="3 stele">★</label>
<input type="radio" id="star2" name="rating" value="2" /><label for="star2" title="2 stele">★</label>
<input type="radio" id="star1" name="rating" value="1" /><label for="star1" title="1 stea">★</label>
</div>CSS Code:
.cffo-star-rating {
display: inline-block;
direction: rtl;
unicode-bidi: bidi-override;
}
.cffo-star-rating input {
position: absolute !important;
left: -9999px !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
}
.cffo-star-rating label {
display: inline-block !important;
padding: 0 !important;
margin: 0 !important;
font-size: 30px !important;
color: #ddd !important;
cursor: pointer !important;
line-height: 1 !important;
transition: color 0.2s ease-in-out !important;
}
.cffo-star-rating label:hover,
.cffo-star-rating label:hover ~ label,
.cffo-star-rating input:checked ~ label {
color: #c97757 !important;
}
.cffo-star-rating label:hover,
.cffo-star-rating label:hover ~ label {
color: #579981 !important;
}JS Code
(function() {
var starRating = 0;
var container = document.querySelector('.cffo-star-rating');
if (container) {
var checkedInput = container.querySelector('input:checked');
if (checkedInput) {
starRating = parseInt(checkedInput.value);
}
}
switch(starRating) {
case 1: return "1 stea";
case 2: return "2 stele";
case 3: return "3 stele";
case 4: return "4 stele";
case 5: return "5 stele";
default: return "";
}
})();Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2Yes, it works.
Thank you.Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2Thank you.
These are the warnings displayed by “Query monitor”:
Undefined array key “slug”
- wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php:201
Pressidium\W\C\C\Cookie_Consent->print_inline_style()
wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php:226Pressidium\W\C\C\Cookie_Consent->print_inline_head()
wp-includes/class-wp-hook.php:324do_action('admin_head')
wp-admin/admin-header.php:163
Undefined array key “family”:
wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php:202Pressidium\W\C\C\Cookie_Consent->print_inline_style()
wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php:226Pressidium\W\C\C\Cookie_Consent->print_inline_head()
wp-includes/class-wp-hook.php:324do_action('admin_head')
wp-admin/admin-header.php:163
These are the errors from errors.log
[03-Aug-2024 04:30:00 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Database_Manager.php on line 116
[03-Aug-2024 04:30:00 UTC] WordPress database error Specified key was too long; max key length is 1000 bytes for query CREATE TABLE wpd8_pressidium_cookie_consents (
id VARCHAR(255) NOT NULL PRIMARY KEY ,
consent_date DATETIME NOT NULL ,
url VARCHAR(255) NOT NULL ,
geo_location VARCHAR(255) ,
ip_address VARCHAR(255) NOT NULL ,
user_agent VARCHAR(255) NOT NULL ,
necessary_consent TINYINT(1) DEFAULT 0 NOT NULL ,
analytics_consent TINYINT(1) DEFAULT 0 NOT NULL ,
targeting_consent TINYINT(1) DEFAULT 0 NOT NULL ,
preferences_consent TINYINT(1) DEFAULT 0 NOT NULL ,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL ,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL ON UPDATE CURRENT_TIMESTAMP
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, Pressidium\WP\CookieConsent\init_plugin, Pressidium\WP\CookieConsent\Plugin->init, Pressidium\WP\CookieConsent\Plugin->register_tables, Pressidium\WP\CookieConsent\Database\Database_Manager->maybe_upgrade_tables, Pressidium\WP\CookieConsent\Database\Table->create, dbDelta
[03-Aug-2024 04:30:25 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = '5d44b069-fcad-49c4-a942-54835b34c097' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record [03-Aug-2024 04:30:25 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert [03-Aug-2024 04:30:45 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records, Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows
[03-Aug-2024 04:30:45 UTC] PHP Fatal error: Uncaught TypeError: Pressidium\WP\CookieConsent\Database\Table::get_total_number_of_rows(): Return value must be of type int, null returned in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php:218
Stack trace: 0 /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Admin/Settings/Settings_API.php(1067): Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows() 1 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records() 2 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 3 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 4 /home/horecamasters/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request() 5 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 6 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/horecamasters/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 8 /home/horecamasters/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 9 /home/horecamasters/public_html/wp-includes/class-wp.php(813): WP->parse_request() 10 /home/horecamasters/public_html/wp-includes/functions.php(1336): WP->main() 11 /home/horecamasters/public_html/wp-blog-header.php(16): wp() 12 /home/horecamasters/public_html/index.php(17): require('/home/horecamas…') 13 {main}
thrown in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php on line 218
[03-Aug-2024 04:30:52 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = '5d44b069-fcad-49c4-a942-54835b34c097' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record [03-Aug-2024 04:30:52 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert [03-Aug-2024 04:31:20 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records, Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows
[03-Aug-2024 04:31:20 UTC] PHP Fatal error: Uncaught TypeError: Pressidium\WP\CookieConsent\Database\Table::get_total_number_of_rows(): Return value must be of type int, null returned in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php:218
Stack trace: 0 /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Admin/Settings/Settings_API.php(1067): Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows() 1 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records() 2 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 3 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 4 /home/horecamasters/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request() 5 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 6 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/horecamasters/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 8 /home/horecamasters/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 9 /home/horecamasters/public_html/wp-includes/class-wp.php(813): WP->parse_request() 10 /home/horecamasters/public_html/wp-includes/functions.php(1336): WP->main() 11 /home/horecamasters/public_html/wp-blog-header.php(16): wp() 12 /home/horecamasters/public_html/index.php(17): require('/home/horecamas…') 13 {main}
thrown in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php on line 218
[03-Aug-2024 04:32:03 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = '006a819b-60c2-4b1f-a027-3df29eb4cef4' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record [03-Aug-2024 04:32:03 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert [03-Aug-2024 04:32:48 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = '006a819b-60c2-4b1f-a027-3df29eb4cef4' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record
[03-Aug-2024 04:32:48 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert
[03-Aug-2024 04:33:20 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT(*) FROM wpd8_pressidium_cookie_consents made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records, Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows
[03-Aug-2024 04:33:20 UTC] PHP Fatal error: Uncaught TypeError: Pressidium\WP\CookieConsent\Database\Table::get_total_number_of_rows(): Return value must be of type int, null returned in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php:218
Stack trace: 0 /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Admin/Settings/Settings_API.php(1067): Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows() 1 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records() 2 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 3 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 4 /home/horecamasters/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request() 5 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 6 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/horecamasters/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 8 /home/horecamasters/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 9 /home/horecamasters/public_html/wp-includes/class-wp.php(813): WP->parse_request() 10 /home/horecamasters/public_html/wp-includes/functions.php(1336): WP->main() 11 /home/horecamasters/public_html/wp-blog-header.php(16): wp() 12 /home/horecamasters/public_html/index.php(17): require('/home/horecamas…') 13 {main}
thrown in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php on line 218
[03-Aug-2024 04:33:22 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = 'ad1a1554-4790-4c9a-9db2-0587c6a79654' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record [03-Aug-2024 04:33:22 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert [03-Aug-2024 04:35:11 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records, Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows
[03-Aug-2024 04:35:11 UTC] PHP Fatal error: Uncaught TypeError: Pressidium\WP\CookieConsent\Database\Table::get_total_number_of_rows(): Return value must be of type int, null returned in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php:218
Stack trace: 0 /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Admin/Settings/Settings_API.php(1067): Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows() 1 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records() 2 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 3 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 4 /home/horecamasters/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request() 5 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 6 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/horecamasters/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 8 /home/horecamasters/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 9 /home/horecamasters/public_html/wp-includes/class-wp.php(813): WP->parse_request() 10 /home/horecamasters/public_html/wp-includes/functions.php(1336): WP->main() 11 /home/horecamasters/public_html/wp-blog-header.php(16): wp() 12 /home/horecamasters/public_html/index.php(17): require('/home/horecamas…') 13 {main}
thrown in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php on line 218
[03-Aug-2024 04:35:22 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT(*) FROM wpd8_pressidium_cookie_consents made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records, Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows
[03-Aug-2024 04:35:22 UTC] PHP Fatal error: Uncaught TypeError: Pressidium\WP\CookieConsent\Database\Table::get_total_number_of_rows(): Return value must be of type int, null returned in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php:218
Stack trace: 0 /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Admin/Settings/Settings_API.php(1067): Pressidium\WP\CookieConsent\Database\Table->get_total_number_of_rows() 1 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->get_consent_records() 2 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 3 /home/horecamasters/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 4 /home/horecamasters/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request() 5 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 6 /home/horecamasters/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/horecamasters/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 8 /home/horecamasters/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 9 /home/horecamasters/public_html/wp-includes/class-wp.php(813): WP->parse_request() 10 /home/horecamasters/public_html/wp-includes/functions.php(1336): WP->main() 11 /home/horecamasters/public_html/wp-blog-header.php(16): wp() 12 /home/horecamasters/public_html/index.php(17): require('/home/horecamas…') 13 {main}
thrown in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Database/Table.php on line 218
[03-Aug-2024 04:35:28 UTC] PHP Warning: Undefined array key "slug" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 201
[03-Aug-2024 04:35:28 UTC] PHP Warning: Undefined array key "family" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 202
[03-Aug-2024 04:35:32 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = 'ad1a1554-4790-4c9a-9db2-0587c6a79654' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record [03-Aug-2024 04:35:32 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert [03-Aug-2024 04:35:41 UTC] PHP Warning: Undefined array key "slug" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 201 [03-Aug-2024 04:35:41 UTC] PHP Warning: Undefined array key "family" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 202 [03-Aug-2024 04:36:10 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT() FROM wpd8_pressidium_cookie_consents WHERE id = 'edac1231-e762-4961-83c9-34bdd6c833ef' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record
[03-Aug-2024 04:36:10 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert
[03-Aug-2024 04:36:39 UTC] PHP Warning: Undefined array key "slug" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 201
[03-Aug-2024 04:36:39 UTC] PHP Warning: Undefined array key "family" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 202
[03-Aug-2024 04:36:42 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SELECT COUNT(*) FROM wpd8_pressidium_cookie_consents WHERE id = 'edac1231-e762-4961-83c9-34bdd6c833ef' made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->has_consent_record
[03-Aug-2024 04:36:42 UTC] WordPress database error Table 'horecamasters_w488.wpd8_pressidium_cookie_consents' doesn't exist for query SHOW FULL COLUMNS FROMwpd8_pressidium_cookie_consents
made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Pressidium\WP\CookieConsent\Admin\Settings\Settings_API->update_consent, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->set_consent_record, Pressidium\WP\CookieConsent\Database\Tables\Consents_Table->insert_consent_record, Pressidium\WP\CookieConsent\Database\Table->insert
[03-Aug-2024 04:36:53 UTC] PHP Warning: Undefined array key "slug" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 201
[03-Aug-2024 04:36:53 UTC] PHP Warning: Undefined array key "family" in /home/horecamasters/public_html/wp-content/plugins/pressidium-cookie-consent/includes/Client/Cookie_Consent.php on line 202Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2Thanks for the answers,
Content logs, for the problem site (all cooks are initialized on denied).
Pressidium Cookie Consent v1.5.0
PHP v8.1.28
WordPress v6.6.1
Installation @ https://www.horeca-masters.roUpdated settings successfully
Updated settings successfully
Updated settings successfullyAs for the site displaying the cookie message window on each page reload, the problem is due to the Chrome browser. The problem no longer occurs when using other browsers. It was a clear cache problem.
Thanks again.
The plugin is great.
I hope you end up with it in the top downloads on wordpress.Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2And there are two other problems:
- On a particular site, on which I installed the plugin, the cookie acceptance window loads every time I reload the page, regardless of whether I have accepted cookies or not.
- Displaying texts in the cookies window for different languages does not work.
In conclusion, the plugin is excellent although it has small problems, which I’m sure will be fixed.
Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2I have another site, on which the plugin doesn’t work properly, even after deactivating “Hide empty categories”. In addition, it does not register “Consent records” at all.
The initial status for all cookies is denied:
https://ibb.co/yBxDW20Here are the content settings:
{“autorun”:true,”force_consent”:false,”autoclear_cookies”:false,”page_scripts”:true,”hide_from_bots”:true,”reconsent”:true,”delay”:0,”cookie_expiration”:182,”cookie_path”:”/”,”cookie_domain”:”horeca-masters.ro”,”auto_language”:”browser”,”cookie_name”:”pressidium_cookie_consent”,”languages”:{“ro”:{“consent_modal”:{“title”:”Consim??mantul cookie”,”description”:”Bun? ziua, folosim module cookie pentru a asigura buna func?ionare a site-ului, pentru a analiza traficul ?i performan?a ?i pentru a oferi func?ii de social media. Set?ri Cookie”,”primary_btn”:{“text”:”Accept tot”,”role”:”accept_all”},”secondary_btn”:{“text”:”Accept cele necesare”,”role”:”accept_necessary”}},”settings_modal”:{“title”:”Preferin?e pentru cookie-uri”,”save_settings_btn”:”Salveaz? set?rile”,”accept_all_btn”:”Accept tot”,”reject_all_btn”:”Refuz tot”,”close_btn_label”:”?nchide”,”cookie_table_headers”:[{“name”:”Nume”},{“domain”:”Domeniu”},{“expiration”:”Expirare”},{“path”:”Calea”},{“description”:”Descriere”}],”blocks”:[{“title”:”Utilizarea Cookie ??”,”description”:”Utiliz?m module cookie pentru a asigura buna func?ionare a site-ului, pentru a analiza traficul ?i performan?a ?i pentru a oferi func?ii de social media. Face?i clic pe diferitele titluri de categorie pentru a afla mai multe ?i pentru a schimba set?rile noastre implicite. Cu toate acestea, blocarea anumitor tipuri de module cookie poate avea un impact asupra experien?ei dvs. pe site ?i asupra serviciilor pe care le putem oferi.”},{“title”:”Cookie-uri strict necesare”,”description”:”Aceste module cookie sunt necesare pentru ca site-ul s? func?ioneze ?i nu pot fi dezactivate ?n sistemele noastre. V? pute?i seta browserul s? blocheze sau s? v? avertizeze cu privire la aceste module cookie, dar este posibil ca unele p?r?i ale site-ului s? nu func?ioneze.”,”toggle”:{“value”:”necessary”,”enabled”:true,”readonly”:true},”cookie_table”:[]},{“title”:”Cookie-uri de performan?? ?i analiz?”,”description”:”These cookies allow us to analyze visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site.”,”toggle”:{“value”:”analytics”,”enabled”:false,”readonly”:false},”cookie_table”:[]},{“title”:”Cookie-uri de publicitate ?i direc?ionare”,”description”:”Aceste module cookie pot fi setate prin intermediul site-ului nostru de c?tre furnizorii no?tri de social media ?i/sau partenerii no?tri de publicitate. Acestea pot fi utilizate de aceste companii pentru a construi un profil al intereselor dvs. ?i pentru a v? afi?a reclame relevante pe alte site-uri. Acestea nu stocheaz? direct informa?ii personale, ci se bazeaz? pe identificarea unic? a browserului ?i a dispozitivului dvs. de internet.”,”toggle”:{“value”:”targeting”,”enabled”:false,”readonly”:false},”cookie_table”:[]},{“title”:”Cookie-uri de func?ionalitate ?i preferin?e”,”description”:”Aceste module cookie ne permit s? oferim func?ionalitate ?mbun?t??it? ?i personalizare prin stocarea preferin?elor utilizatorului.”,”toggle”:{“value”:”preferences”,”enabled”:false,”readonly”:false},”cookie_table”:[]},{“title”:”Informa?ii suplimentare”,”description”:”For any queries in relation to our policy on cookies and your choices, please contact us.”}]}}},”gui_options”:{“consent_modal”:{“layout”:”box”,”position”:”bottom right”,”transition”:”slide”,”swap_buttons”:false},”settings_modal”:{“layout”:”box”,”position”:”left”,”transition”:”slide”}},”pressidium_options”:{“primary_btn_role”:”accept_all”,”secondary_btn_role”:”accept_necessary”,”cookie_table”:{“necessary”:[],”analytics”:[],”targeting”:[],”preferences”:[]},”blocked_scripts”:[],”colors”:{“bg”:”#f9faff”,”text”:”#112954″,”btn-primary-bg”:”#3859d0″,”btn-primary-text”:”#f9faff”,”btn-primary-hover-bg”:”#1d2e38″,”btn-primary-hover-text”:”#f9faff”,”btn-secondary-bg”:”#dfe7f9″,”btn-secondary-text”:”#112954″,”btn-secondary-hover-bg”:”#c6d1ea”,”btn-secondary-hover-text”:”#112954″,”toggle-bg-off”:”#8fa8d6″,”toggle-bg-on”:”#3859d0″,”toggle-bg-readonly”:”#cbd8f1″,”toggle-knob-bg”:”#fff”,”toggle-knob-icon-color”:”#ecf2fa”,”cookie-category-block-bg”:”#ebeff9″,”cookie-category-block-bg-hover”:”#dbe5f9″,”section-border”:”#f1f3f5″,”block-text”:”#112954″,”cookie-table-border”:”#e1e7f3″,”overlay-bg”:”rgba(230, 235, 255, .85)”,”webkit-scrollbar-bg”:”#ebeff9″,”webkit-scrollbar-bg-hover”:”#3859d0″,”btn-floating-bg”:”#3859d0″,”btn-floating-icon”:”#f9faff”,”btn-floating-hover-bg”:”#1d2e38″,”btn-floating-hover-icon”:”#f9faff”},”record_consents”:true,”gcm”:{“enabled”:true,”implementation”:”gtm”,”ads_data_redaction”:false,”url_passthrough”:false,”regions”:[]},”hide_empty_categories”:false,”font”:[],”floating_button”:{“enabled”:true,”size”:”sm”,”position”:”left”,”icon”:”pressidium”,”transition”:”fade-in-up”}},”revision”:1,”version”:”1.5.0″}
Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2Hi,
It seems that you might have enabled the “Hide empty categories” feature without listing any cookies.
I just upgraded from version 1.4.0 to version 1.5.0 without changing anything in the plugin settings.
In the “General” tab, the “Hide empty categories” option is enabled
In the “Cookies” tab, no cookies are listedTrue, but this is the default state after the plugin update.
I disabled the “Hide empty categories” option and this solved the problem.
As a conclusion, after the update from v 1.4.0 to v 1.5.0, there appeared this option “Hide empty categories” which is enabed by default.
Thanks a lot.
Have a nice day
Radovan D.
Forum: Plugins
In reply to: [Pressidium Cookie Consent] Troubleshooting Logs, Consent Mode V2After several checks, I noticed that the problem does not occur in version 1.4.0 and the problem is generated by version 1.5.0.
Forum: Plugins
In reply to: [Calculated Fields Form] Calculated field does not display HTML codeIt works.
Thank you.Ok, Thank you.
Thank you for your reply.
The idea was to use some general values, which I set at the beginning of the form and then use in various fields in the form, including checkbox or radio buttons.
For example to define fieldname1, fieldname2 and fieldname3 at the start of the form, then use them in various places in the form, for example in a fieldname4 which is of type checkbox, in a fieldname5 which is of type radio button etc.