katmacau
Forum Replies Created
-
Thanks. I tested that and using that submit method did not help. I disabled the dashboard function to double check that it worked without that function. Without dashboard funciton it works, with it enabled it doesn’t.
Hello. After doing your suggested posts I was able to identify the cause. I have this action in place so that subscribers cannot access the dashboard. When this active is active it stops the forms submitting. When disabled the forms work!
add_action('admin_init', 'disable_dashboard'); <br>function disable_dashboard() {<br>if (current_user_can('subscriber') && is_admin()) { <br>wp_redirect(home_url()); <br>exit; <br>} <br>}Not sure why this code would prevent forms submitting? I want to keep subscribers out of wordpress dashboard.
Hello. I have tried those things. I dont have any caching, member or other security plugins. I even tried switching to a different theme. They all keep the lost password link as:
https://dev.mysite.com/wp-login.php?action=lostpassword&redirect_to
Which returns the error message because of Defender Mask.
I checked and the masked url works correctly. Issue is that url does not appear on the login form.
Resolved with 2 changes.
1/ Under Siteground Optimiser plugin the XML feeds were added to the excluded cache files.
2/ We unchecked “And only include default product variation:” option. We then went from 30 products to the full 846 variations!
Thanks for the prompt reply.
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Add to ajax loaded image linkI worked out that if I add the following data attributes to my links that it works:
<a href="my_image.jpg" data-lbwps-width="600" data-lbwps-height="400" data-lbwps-srcsmall="my_image.jpg">My image</a>However my images are all different sizes and stored externally. Do I need to know the image size for this work? I know I can use code to get that but ideally are the other parameter options I can use? Eg can I set the width to a fixed value and the height to auto?
Is there some documentation for options I can use here? Thank you.
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] Update 4.6.0 causes fatal server errorHi Daan
Here is the full log. This was sent via the “Your site is experiencing an issue” wordpress email.
Error Details ============ = An error of type E_ERROR was caused in line 165 of the file /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-cron.php. Error message: Uncaught Error: Call to undefined method CAOS::get() in /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-cron.php:165Stack trace: #0 /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-cron.php(38): CAOS_Cron->build_download_queue( ) #1 /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-caos.php(293): CAOS_Cron->__construct() #2 /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-caos.php(349): CAOS->trigger_cron_script() #3 /home/mysite/public_html/wp-includes/class-wp-hook.php(308): CAOS->do_update_after_update(Object(Plugin_Upgrader), Array) #4 /home/mysite/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 /home/mysite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/mysite/public_html/wp-admin/includes/class-plugin-upgrader.php(371): do_action('upgrader_proces...', Object(Plugin_Upgrader), Array) #7 /homeForum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] Update 4.6.0 causes fatal server errorAlso having the same issue. PHP 7.4. Updating from 4.5.0 to 4.6.1. On WordPress version 6.2.2.
An error of type E_ERROR was caused in line 165 of the file /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-cron.php. Error message: Uncaught Error: Call to undefined method CAOS::get() in /home/mysite/public_html/wp-content/plugins/host-analyticsjs-local/includes/class-cron.php:165
Thats great. Thank you. Will try that out.
Thank you. I realised what I needed to do now. All I had to do was just change credit card field to use my calculation field as the total price field. That is working now.
Thanks. Issue solved now.
If I can push the calculation results straight to the payment thats even better. I basically want users to enter in a number about (based on what we tell them via an email so different for everyone). We then apply our formula to that value to add a specific surcharge. And they pay that amount.
I couldnt see how to use the calcualtion field as the payment amount so thats why i though you need to transpose it to the currency field.
Hi. I am getting:
Cannot modify header information – headers already sent in /public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php on line 142
Just updated to
Running Linux, LiteSpeed PHP version 7.4.33
I also tried creating a new feed as a test and that gave a 404 error and could not create the new feed.
Ok tested and using regenerate feed is not working and hanging on 50%. What else can I be testing? The plugin had been working wonderfully for months.
I will have to check with client and get back to you on that.
Only recent changes to site where plugin updates and switching to PHP8. Hosted with Siteground with cloudflare and iThemes security pro if that helps.