• Resolved emilysparkle

    (@emilysparkle)


    this landing page i’ve connected to our primary site has a few forms in the page. when i submit the forms, i get a non-descriptive error and these php warnings:

    [27-Feb-2025 17:52:22 UTC] PHP Warning: Undefined array key “background_image” in /public_html/wp-content/plugins/elementor/includes/conditions.php on line 87
    [27-Feb-2025 17:52:22 UTC] PHP Warning: Trying to access array offset on value of type null in /public_html/wp-content/plugins/elementor/includes/conditions.php on line 90

    elementor forms captures the entries but the emails to the site owner nor the user don’t send. when i test a form on the primary domain, these emails work.

    is it possible to send forms from a mapped domain?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter emilysparkle

    (@emilysparkle)

    ps. i have an smtp plugin set up…

    Thread Starter emilysparkle

    (@emilysparkle)

    i’ve gotten the emails sending but am still getting a generic error when the form submits.
    https://imgur.com/7Q1Zmj8

    see below. elementor says it’s a cors issue and implies it’s your bug. i found this on your website
    https://wpsocket.com/plugin/multiple-domain-mapping-on-single-site/faq/#basicsHeading9
    >Here you can see how to setup CORS to enable cross-domain ressources: CORS-Setup
    but it does not link anywhere or provide further info on the setup. is this something that is addressed in your premium version?


    After investigating your website, I discovered CORS issues.

    CORS is a security mechanism implemented in web browsers that protects websites from unauthorized access to resources from different domains. It’s designed to prevent malicious scripts on one website from interacting with sensitive data on another.

    Addressing CORS issues deeply often requires server-side adjustments.

    The error I get is in the screenshot, so please feel free to forward this to your hosting provider’s tech support:
    https://prnt.sc/aMwQqShMWeo9

    Additionally, Multiple Domain Mapping on a single site is a third-party plugin, and we have no control over coding for third-party themes or plugins; we highly recommend that you report this issue also to the support team for this plugin so they may further troubleshoot and provide any recommendations (or possible fixes) to resolve this issue.

    Thread Starter emilysparkle

    (@emilysparkle)

    setting these in my htaccess

    Header always set Access-Control-Allow-Credentials "true"
    Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS"
    Header always set Access-Control-Allow-Headers "Content-Type, Authorization"
    # Dynamically reflect the Origin header (use with caution)
    Header always set Access-Control-Allow-Origin "%{HTTP_ORIGIN}e" env=HTTP_ORIGIN


    fixed my issue. ymmv

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.