Form editing not allowed?
-
Hi there!
I have been using GiveWP for several of my clients (the paid version), but have now started to set up free version for new client @ adra.si. I went through initial setup and then wanted to edit the Form, but this is the message that I get when I click Edit:
“Sorry, you are not allowed to access this page.”What could be the reason for this? I have Admin user rights although I am not the top Admin for this particular site.
Any idea why it does not allow me to edit the Donation Form?
The page I need help with: [log in to see the link]
-
Hello @dmarin ,
Glad you reached out, happy to help.
We’ve seen that message, however, not often. Can you provide the exact steps you’re taking to edit the donation form? Also, if you are able to provide screenshots of the steps or a create a screen video that would be even better!
Thanks in advance! We look forward to guiding you to a resolution here! π
Hi @gscoolidge,
Steps are simple, as always: I click in Campaigns, click on Forms and then on the only form that is there: Fundraising Campaign. However, when I click to edit the form I get the message: “Sorry, you are not allowed to access this page.”
Here is the system info from GiveWP:
WordPress Environment
Home URL: https://adra.si
Site URL: https://adra.si
WP Version: 6.8.2
WP Multisite: β
WP Memory Limit: 2 GB
WP Debug Mode: β
WP Cron: β
Language: en_US
Permalink Structure: /%postname%/
Show on Front: page
Page on Front: Naslovnica (#10128)
Page for Posts: Unset
Table Prefix Length: wp_
Table Prefix Length: 3
Table Prefix Status: Acceptable
Admin AJAX: Accessible
Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, acf-disabled, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, upgraded, approved Server Environment
Hosting Provider: DBH: localhost, SRV: adra.si
TLS Connection: Connection uses TLS 1.3
TLS Connection: Probably Okay
Server Info: LiteSpeed
PHP Version: 8.1.18
PHP Post Max Size: 2 GB
PHP Time Limit: 1200
PHP Max Input Vars: 30000
PHP Max Upload Size: 2 GB
cURL Version: 7.87.0, OpenSSL/1.1.1p
SUHOSIN Installed: β
Default Timezone is UTC: β
fsockopen/cURL: β
SoapClient: β
DOMDocument: β
gzip: β
GD Graphics Library: β
Multibyte String: β
Remote Post: β
Remote Get: β GiveWP Configuration
GiveWP Version: 4.6.1
GiveWP Cache: Enabled
Database Updates: All DB Updates Completed.
Database Updates: All Database Migrations Completed.
Database Tables: β wp_give_donorsβ wp_give_donormetaβ wp_give_commentsβ wp_give_commentmetaβ wp_give_sessionsβ wp_give_formmetaβ wp_give_sequential_orderingβ wp_give_donationmetaβ wp_give_revenueβ wp_give_migrationsβ wp_give_log
GiveWP Cache: Enabled
GiveWP Cache: βNew DonationβDonation ReceiptβDonation Processing ReceiptβNew Offline DonationβOffline Donation InstructionsβNew User RegistrationβUser Registration InformationβDonation NoteβEmail access
Upgraded From: β
Test Mode: Enabled
Currency Code: EUR
Currency Position: Before
Decimal Separator: ,
Thousands Separator: .
Success Page: https://adra.si/donation-confirmation-2/
Failure Page: https://adra.si/donation-failed-2/
Donation History Page: β
GiveWP Forms Slug: /donations/
Enabled Payment Gateways: Test Donation, Offline Donation
Default Payment Gateway: Test Donation
PayPal IPN Notifications: N/A
Donor Email Access: Enabled
Stripe Webhook Notifications: N/A
Platform Fee Amount: 2% Active GiveWP Add-ons Other Active Plugins
Advanced Custom Fields: by WP Engine β 6.4.3
Advanced Editor Tools: by Automattic β 5.9.2
Advanced Responsive Video Embedder for Rumble, Odysee, YouTube, Vimeo, Kick β¦: by Nicolas Jonas β 10.6.12
All in One SEO: by All in One SEO Team β 4.8.5
Classic Widgets: by WordPress Contributors β 0.3
Code Snippets: by Code Snippets Pro β 3.6.8
CookieYes | GDPR Cookie Consent: by CookieYes β 3.3.2
Database for WPforms: by wpdebuglog β 1.0.8.1
Document Embedder Addons for Elementor: by bPlugins β 1.0.3
Elementor: by Elementor.com β 3.30.4
Elementor Pro: by Elementor.com β 3.30.1
EmbedPress: by WPDeveloper β 4.2.9
Envira Gallery Lite: by Envira Gallery Team β 1.10.2
Extras for Elementor: by Namogo β 2.2.52
File Upload Types by WPForms: by WPForms β 1.5.0
Gravity SMTP: by Gravity Forms β 1.9.5
MainWP Child: by MainWP β 5.4.0.12
MC4WP: Mailchimp for WordPress: by ibericode β 4.10.6
OMGF: by Daan from Daan.dev β 6.0.6
Premium Addons for Elementor: by Leap13 β 4.11.24
PublishPress Capabilities Pro: by PublishPress β 2.20.0
PublishPress Permissions Pro: by PublishPress β 4.4.1
Really Simple Security: by Really Simple Security β 9.4.2
Shortcode Cleaner Lite: by Jozoor β 1.0.9
ShortPixel Image Optimizer: by ShortPixel - Convert WebP/AVIF & Optimize Images β 6.2.2
UpdraftPlus - Backup/Restore: by TeamUpdraft, DavidAnderson β 2.25.4.26
User Menus: by Code Atlantic β 1.3.2
Wordfence Security: by Wordfence β 8.0.5
WP Activity Log: by Melapress β 5.4.2
WP Fastest Cache: by Emre Vona β 1.3.8
WPForms Lite: by WPForms β 1.9.7.1
WP Rollback: by WP Rollback β 3.0.2
WPS Hide Login: by WPServeur, NicolasKulka, tabrisrp β 1.5.6 Inactive Plugins
Classic Editor: by WordPress Contributors β 1.6.7
Essential Addons for Elementor: by WPDeveloper β 6.2.2
TablePress: by Tobias BΓ€thge β 3.1.3
Variation Swatches for WooCommerce: by Emran Ahmed β 2.2.0
WooCommerce: by Automattic β 10.0.4
WooCommerce Stripe Gateway: by Stripe β 9.7.1
WP-Optimize - Clean, Compress, Cache: by TeamUpdraft, DavidAnderson β 4.2.4 Active MU Plugins
WordPress automation by Installatron: by β Theme
Name: ADRA Theme
Version: 1.6.0
Author URL:
Child Theme: Yes
Parent Theme Name: Hello Elementor
Parent Theme Version: 3.4.4
Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dashPlease let me know what to do for the GiveWP to let me edit the form. You see, I have successfully setup GiveWP on several websites, some use paid version, some free version. But I have never seen a message like this before.
Hello,
Thank you for the updates.
A few things to test please:
- can you hover over the form, click the Duplicate link and see if it:
- Allows you to create a duplicate form
- If so, can you edit the form without the error? If you cannot duplicate it, does it display the same error or a different one?
- also , see if you can create a new form, and if so, can you make changes to that one?
Let us know how this goes! π
Hello there,
Itβs been a while since weβve heard back, and I know troubleshooting needs a little extra time. Iβm marking this as resolved for now, but if you still have questions, you can reply right here, and Iβll be happy to hop back in.
Have a great day! π
Hi Ginger @gscoolidge ,
Sorry, I did not see that you replied. I checked now and the result is:
– I am able to duplicate the form but the same error message when trying to edit it.
– I am not able to create “Add campaign form” (add new form) … I get the very same error message.Any other solution to this problem?
Ginger @gscoolidge , I even tried to re-install the GiveWP plugin, but still getting the same error after re-install: not able to create or edit any forms. π
@gscoolidge , I am still waiting for your suggestions how to solve this problem?
Hello @dmarin ,
Sorry for the delay! I was out and only just now returned.
Thank you for the system info. I see you have the All in One SEO plugin active, which GiveWP conflicts with when attempting to edit forms with the visual form builder. Can you temporarily deactivate that plugin and test to see if the error still occurs? If that resolves the error, I can pass along a code snippet for a workaround.
If deactivating AIO SEO does not remove the error, the next recommendation would be to install the Health Check plugin. https://wordpress.org/plugins/health-check/
We have a tutorial that can guide you with how to use it. It allows you to test your site by deactivating individual plugins without affecting the frontend of your website: https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/
When you go into “Troubleshooting Mode”, all plugins will be deactivated by default, which is good. Next, I would suggest to activate only the GiveWP plugin and see if the issue remains. If it works correctly, then you can start enabling a few plugins at a time until it breaks, and then let us know which plugin or setting was the culprit.
We look forward to guiding you to a resolution here! π
Well, deactivating AIO SEO did not help (same error after deactivation). π
So, I guess I will have to do complete Health Check. I will report back after I try deactivating all plugins tonight.
Regards, DanijelHello @dmarin ,
Just checking in on how things went with Health Check? It is super fast to install and “enable” troubleshooting mode to allow only specific plugins to be active at one time.
Best regards,
Hi @gscoolidge , thanks for checking in … sorry, I had no time to do Health Check until now because of other open projects, but have now tried enabling Troubleshooting mode to see if GiveWP Form editing will work. Yes, after I disabled all plugins except GiveWP, I am able to edit the form … but will need more time to check all other plugins and see which one is causing the problem with GiveWP From editor. π
I will report back when I have time to check it all.
Regards, Danijel
Thanks for the update! I’m still thinking the issue is AIO SEO, even though you tested it previously, perhaps it was cached? When active it 100% prevents you from editing the donation forms in the visual form builder. In case this does end up being the issue here, I’m going to provide the code snippet below so you can solve the error without waiting for my reply π
========================================
Here is the the PHP code snippet to resolve the issue:
add_action(
"wp",
function () {
add_action(
"wp_print_footer_scripts",
function () {
$isGiveFormBuilderPreviewMode =
isset($_GET["givewp-route"]) &&
"donation-form-view-preview" === $_GET["givewp-route"];
if (!$isGiveFormBuilderPreviewMode) {
return;
}
wp_dequeue_script(
"aioseo/js/src/vue/standalone/seo-preview/main.js"
);
wp_deregister_script(
"aioseo/js/src/vue/standalone/seo-preview/main.js"
);
wp_dequeue_script("aioseo/js/src/vue/standalone/app/main.js");
wp_deregister_script(
"aioseo/js/src/vue/standalone/app/main.js"
);
},
9
);
},
999
);Before taking any further steps I highly recommend taking a FULL backup of the site that you can confidently restore from if needed.
Regarding where to add the code snippet β we always recommend using a PHP code snippets plugin, and it appears you already have one installed, awesome!
Also, if you need assistance implementing custom PHP code on your website we have this guide: https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/.
Please note that this code snippet is provided as an example of how you can extend GiveWP with code. Itβs up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.
Let me know how things go over all, and have a great weekend! π
Dear @gscoolidge ,
Thanks for that suggested Snippet Code as a fix for AIO SEO, but even after I created the Snippet and enabled it, even after Cache cleared, I still get the same error when trying to Edit GiveWP Form: “Sorry, you are not allowed to access this page.” I tried cloning and editing + adding new form, but I got the same result. π
So, I guess I am back at square 1 and will have to do complete plugin disable and then enable one by one to find the culprit. I will try to do that tonight and will report back afterwards.
Regards, Danijel
Hi @gscoolidge , I finally had the time to troubleshoot our issue with the Health Check and I finally found the culprit!
So, it seems that PublishPress Permissions plugin is blocking access to GiveWP form edit screen!!! This is the plugin that the main Admin installed to limit some user permissions, but for some reason it blocks even Admin users from editing the GiveWP Forms (there are no settings for Admin in the plugin, only for other WP user roles!). So, when I disable it, Form editing and adding works just fine!
I even turned off the PHP snippet you provided for AIO SEO, and the form editing still works fine with AIO SEO enabled (and without the snippet), as long as PublishPress Permissions is deactivated.So, thanks again for helping me troubleshoot this and please make yourself a note that PublishPress Permissions plugin is incompatible with GiveWP.
Regards, Danijel
Hello @dmarin ,
Great sleuthing! Also, thanks so much for following up. I’ll do some local testing to confirm the issue, and will for sure share it with the rest of the team.
I’ll go ahead and close out this support ticket now.
A quick favor to ask — if you find using GiveWP is a good solution for your donations, and I’veΒ been helpful to you, please tell us with a 5-star rating.Β
Here is the link where you can post your review:
https://wordpress.org/support/plugin/give/reviews/#new-post.
The reviews help others to decide if GiveWP is a good fit for their donation projects on WordPress.
Have a great rest of your day/evening π
- can you hover over the form, click the Duplicate link and see if it:
The topic ‘Form editing not allowed?’ is closed to new replies.