• Resolved dmarin

    (@dmarin)


    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]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support Ginger Coolidge

    (@gscoolidge)

    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! πŸ™‚

    Thread Starter dmarin

    (@dmarin)

    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-dash

    Please 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.

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    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! πŸ™‚

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    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! πŸ™‚

    Thread Starter dmarin

    (@dmarin)

    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?

    Thread Starter dmarin

    (@dmarin)

    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. πŸ™

    Thread Starter dmarin

    (@dmarin)

    @gscoolidge , I am still waiting for your suggestions how to solve this problem?

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    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! πŸ™‚

    Thread Starter dmarin

    (@dmarin)

    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, Danijel

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    Hello @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,

    Thread Starter dmarin

    (@dmarin)

    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

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    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! πŸ™‚

    Thread Starter dmarin

    (@dmarin)

    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

    Thread Starter dmarin

    (@dmarin)

    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

    Plugin Support Ginger Coolidge

    (@gscoolidge)

    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 πŸ™‚

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Form editing not allowed?’ is closed to new replies.