twobyte
Forum Replies Created
-
Forum: Plugins
In reply to: [SVG Support] Undefined array key css_targetAlso had this issue with 2.5.8
Downgrading wpackagist-plugin/svg-support (2.5.8 => 2.5.7)
Just discovered this plugin is also breaking the new block widget editor. Maybe registering the block with
register_block_type()
will fix that too!As a stop gap, to get your plugin to work, I have added this line:
$allowed_block_types[] = "webfactory/map";
Forum: Plugins
In reply to: [LoginWP (Formerly Peter's Login Redirect)] Critical Errors[03-Aug-2023 10:49:06 UTC] PHP Fatal error: Uncaught Error: Class ‘LoginWP\Core\Admin\FuseWP’ not found in /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Admin/RedirectionsPage.php:18
Stack trace: 0 /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Admin/RedirectionsPage.php(513): LoginWP\Core\Admin\RedirectionsPage->__construct() 1 /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Admin/Admin.php(12): LoginWP\Core\Admin\RedirectionsPage::get_instance() 2 /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Admin/Admin.php(248): LoginWP\Core\Admin\Admin->__construct() 3 /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Core.php(39): LoginWP\Core\Admin\Admin::get_instance() 4 /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Core.php(187): LoginWP\Core\Core->__construct() 5 /var/www/html/wp-content/plugins/peters-login-redirect/wplogin_redirect.php(25): LoginWP\Core\Core::get_instance() 6 /var/www/html/wp-settings.php(453): include_once(‘/v in /var/www/html/wp-content/plugins/peters-login-redirect/src/core/src/Admin/RedirectionsPage.php on line 18Forum: Plugins
In reply to: [WPGraphQL] GraphQL not workingI too have recently started having a graphql error from an application that was previously working fine. Entering the query into the graphiQL IDE gives expected result, but the React/Appollo application is now giving this error:
“Cannot query field \”indicator_categoryId\” on type \”Indicator_category\”. Did you mean \”indicatorCategoryId\” or \”indicatorColor\”?”
Tried downgrading WPGraphQL plugin to version 1.6 and 1.12 – but the error persists so suggest some other environmental change has happened!
Hello, this is not resolved.
Any other thoughts on why the accept button has stopped working?
- This reply was modified 2 years, 4 months ago by twobyte.
Thank you @webtoffee, I have added this script to functions php, and can see the hash in the href attribute, but the Accept button still does not close the cookie bar.
Any other thoughts on why this has stopped working?
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache REST API enable returned 500 errorUpdating openlitespeed web server fixed this for me. If I remember correctly, the shell command was something like lsup.sh
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache REST API enable returned 500 errorI am having the exact same problem, cannot run my app with the Cache REST API option switched on.
GET https://www.domain.org/wp-json/wp/v2/cpt/?per_page=100 is passing 500 error
to the browser, and the error.log is saying:WARN lsapi Module:Cache vary request header "Origin" not defined!
Just loading the URL in browser window works..
App is running off same domain, so cannot see how it could be CORs?
How was this resolved? Any help appreciated.
Thanks
How is this resolved?
Ditto same problem. No maps front end or back end. Getting RetiredVersion warning.
Thank you Mike, that makes sense.
I am actually implementing a solution similar to this as it provides a bit more flexibility.
Forum: Plugins
In reply to: [CMB2] How to implement new "cmb2_{$field_id}_is_valid_img_ext" enhancentWell a pedant would say there’s still no real file-type validation, but I’m happy enough so yes.
Members can post jobs only for their company for which they have a profile page. I suppose posting for third parties could become a requirement in future but right now this is not specified.
If a member updates the company details in their profile (using these _company_name fields etc.) will this also update the content assigned to their previously posted jobs, or is this data being duplicated and attached to each individual job post?
If a job is deleted and the company data is also deleted it might be better to set up independent company fields to populate member profiles?
Forum: Plugins
In reply to: [CMB2] How to implement new "cmb2_{$field_id}_is_valid_img_ext" enhancentBoom: cmb2-front-end-wordpress-media-uploader.php
Just make sure to change line 26 from
$subscriber->add_cap( 'manage_options' );
to
$subscriber->add_cap( 'upload_files' );
Thanks Justin…