lozeone
Forum Replies Created
-
Forum: Plugins
In reply to: [WPC Fly Cart for WooCommerce] Can’t update the quantity of items in the cartI am also having the same issue. the quantity field does not work. in many cases clicking the plus icon, or even manually changing the quantity number, deletes the product from the cart completely.
This is because in the fontend.js you are targeting the quantity field with ‘.qty’, however there is also a wrapper around the input field with a class name of ‘qty’ as well so the js is selecting the wrong element. I fixed this on my site by editing the frontend.js file to target ‘input.qty’ instead of just ‘.qty’ in several places.
It would be great if your developers could fix this so future updates to this plugin don’t break it again.
thanks.I can confirm that the Widget Options plugin is the culprit. The latest version just released today resolves the issue
https://www.ads-software.com/support/topic/conflict-with-jetpack-unable-to-add-blocks/
Forum: Plugins
In reply to: [WordPress Popular Posts] Critical Error After UpdateIm getting the following error with version 6.0.5
Fatal error: Uncaught TypeError: Argument 4 passed to WordPressPopularPosts\Image::get() must be of the type bool, array given, called in /var/www/vhosts/……com/httpdocs/wp-content/plugins/wordpress-popular-posts/src/Output.php on line 497 and defined in /var/www/vhosts/……com/httpdocs/wp-content/plugins/wordpress-popular-posts/src/Image.php:112
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Fatal error from seopressI’m running PHP 7.3.30
I have deleted and added the plugin and get the same errorIt works on my localhost which is running php 7.2 but throws this error on production with 7.3.30
Also, I have disabled all other plugins and it still breaks.
The settings link is missing from the admin menu, but it appears at the top of the dashboard page.
This happened on two different WP sites of mine.
This is what I use to remove the recaptca from every page that does not have a contact-form-7 shortcode in it. This way you dont need to know the IDs.
add_action( 'wp_enqueue_scripts', 'remove_recaptcha_from_pages', 1 );
function remove_recaptcha_from_pages() {
global $post;
if ( !isset( $post->post_content ) || !has_shortcode( $post->post_content, 'contact-form-7' ) ) {
// there is no wpcf7 form on this page so remove all the wpcf7 scripts
remove_action('wp_enqueue_scripts', 'wpcf7_do_enqueue_scripts');
remove_action('wp_enqueue_scripts', 'wpcf7_recaptcha_enqueue_scripts');
}
}
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Only display SEO Press metaboxes to adminsthis feature is not working for some custom roles.
I have a custom role set up with https://www.ads-software.com/plugins/user-role-editor/ The role appears as a checkbox on the advanced > security page, but the meta box appears regardless if the box is checked or not.
Edit:
After digging into the code. you are calling is_super_admin() in admin-metaboxes.php before filtering out the selected roles.
if a user has the ‘delete_users’ permission, WP is considering it a Super Admin.According to the last note on https://developer.www.ads-software.com/reference/functions/is_super_admin/ the use of this function is discouraged as of WP 4.8. and they say to use current_user_can( ‘setup_network’ ) instead. Changing this on line 464 of admin-metaboxes.php resolved this for me.
Could you please update the plugin with this? Otherwise it’s a great plugin!
thank you.
Forum: Everything else WordPress
In reply to: Problem with adding multiple custom fields – AJAX related?I know this is old, but i’m having the exact same problem.
php5 though so its not that.
i disable all plugins and it still happens.
wp 2.6.2did you ever figure it out?
Forum: Fixing WordPress
In reply to: Simple links.php questionive tried:
/wp/links
/wp/links/slug
/wp/slugi get nothing for any of them, there is a links.php file in my theme
Forum: Fixing WordPress
In reply to: 2 blogs 1 set of categoriesI think what I am going to do it using categories.
Im going to try to build a plugin interface that will allow me, as an admin, to select certain categories To act as “post types”. These defined post types, will then appear on the “write post” page as a set of radio buttons, allowing the author to only select one. The admin defined “post types” will then be filtered out from the main/built-in category selection widget.
Then just style everything by the “post type” categories. This should allow me to add new “post types” in the future.
Wish me luck.
Forum: Plugins
In reply to: The plugin ImageManager is not working on WP 2.1im having troubles with this plugin as well
i am getting a js error in FF
Error: syntax error
Source File: https://mydomain.com/wordpress/wp-content/plugins/ImageManager/tinymceplugin/langs/.js
then when i click th icon i get a blank popup box
i assume, somewhere its not loding the correct language file, shouldn’t “langs/.js” be “langs/en.js” but i cant find where in the code this is.
anyone else have this problem?
Forum: Fixing WordPress
In reply to: 2 blogs 1 set of categoriesThank you so much Mary. I am going to look into and experiment with these suggestions. I’m fairly competent with php and mySql. I’ve learned a lot about WP in the past 2 days but still feel i have a long way to go.
Forum: Plugins
In reply to: [New] Adsense Manager v0.9Im having trouble with this plugin.
I installed it, activated it, but on the settings menu, the page never fully renders. the source in the browser ends after `<!– Options taken from Google AdSense setup pages –>
<optgroup label=”Horizontal”>`
there’s nothing after this.in the plugin file, all the code is there.
I downloaded the latest and reinstalled, still teh same results. any suggestions?
Forum: Fixing WordPress
In reply to: Keeps resetting themeSorry, I was wrong, it started doing it again. Man this is annoying.
Forum: Fixing WordPress
In reply to: Keeps resetting themeIm having the same problem, it started when i installed the “Simple Tagging Plugin” https://sw-guide.de/wordpress/wordpress-plugins/simple-tagging-plugin/
i disabled it and it stopped happening.Does anyone else who has this problem have this installed, or is this just coincidence?
If it is causing it, any ideas on how to fix it?