PHP Redirect to another page (using Stripe)

Good day, I am using Stripe to collect payments for my site. I have the code working to accept the payments, but I am having trouble redirecting the user to a thank you page once subscribed. Here...

MySQL/PHP Inserting the same row twice

I can't figure out why this code is inserting the same row twice. I've literally stripped it back to the following code: <?php $query = "INSERT INTO `cs_social_alerts` (email) VALUES...

Woocommerce - create new order using wc_create_order but discounts not working

Can not get coupons to apply the discount to an order. (programmatically creating a new order) Here's the code: $order = wc_create_order(); $order->add_product( get_product( $pid ),...

wp-cron.php not being executed

Tonight I noticed that a few emails that were supposed to go out already (yesterday) were not sent. The plugin that scheduled and sends these emails to sent via a WP Cron job. So doing some...

How to send email from WordPress (contact forms) in Docker container?

I have a little issue with Wordpress image, will be thankful for any help. I have existing database, which I import with dump. My Mysql Dockerfile listing below: FROM mariadb:10.1.20 COPY...

Cordova AJAX calls fail only on release build

I'm developing a Cordova app for android, and I have a strange issue about jquery ajax calls: the debug build have no problem, while in the release one each ajax call fails with an error. If I run...

ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- selenium-webdriver (LoadError)

I am trying to run this below code, then I got code error: ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- selenium-webdriver (LoadError) I am not able...

WordPress redirect issue with php

i have some users in my db. The PHP script pick the users accurately, but redirect not working. Please help any one my script is...

Woocommerce processing email not auto sending

I've searched around and from what I can tell, most people just use an SMTP plugin for this... however, I want to know what's wrong! :) A couple of weeks ago we started getting reports of...

Multiple PayPal accounts linked to ONE installation of Woocommerce

My issue: The client has 12 locations, each location is a different corporation hence a different PayPal account per business. By default woocommerce only supports one email to be entered to...

Add Cancel button on My account Orders list using Woo Cancel for Customers Plugin

In My WooCommerce website I am using this plugin WooCommerce Order Cancel for Customers which allow customers to cancel their order based on payment type and on a time delay. But the cancel button...

Adding Background image to EJS file

I seem to be fine getting an image to render from my app.js file to the main ejs file, but when i change it to a background image, it does not display. Any idea whats up? my app.js const express =...

How to parse multipart/form-data on firebase cloud functions?

I've been trying to post a multipart/form-data object with text and an image file to one of my cloud functions, according to the documents...

The plugin generated 198 characters of unexpected output during activation. If you notice “headers already sent” messages,

The plugin generated 198 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds,,, Where the error ? if ( ! defined(...

Wordpress REST API - send reset password link

I want to create a request from my application. (iOS and Android - Coded with Xamarin). Explaination: The request should trigger the WordPress action=lostpassword. - The user receives an email to...

PHP Fatal error: Cannot declare class Emogrifier, because the name is already in use

I'm currently trying to inline css with a html content which works perfect but only once. When I try it multiple times I'm getting this error: PHP Fatal error: Cannot declare class Emogrifier,...

Contact Form 7 can't send attachment more than 6MB to email

Attachment is uploaded into server. But, unable to send attachment using contact form to email if file is larger than 6MB. Ajax is loading. I encounter the following errors: EMAIL DELIVERY...

Get WooCommerce coupons by email restrictions using REST API

As mentioned in the title, I am trying to access the WooCommerce coupons list by email restrictions to use it in my app. However I did access the coupons list successfully but i am not being able...

YITH WooCommerce Wishlist: Help me show the first item / product thumbnail within the sidebar widget and wishlist manage areas?

I am using YITH Wishlist within WooCommerce, WordPress. Within an individual wishlist - it displays the image, with 'remove from list', the product title and a link through to the individual...

Getting error on react native "json parse error unexpected eof"

I have followed this code from the site "http://carlofontanos.com/user-login-with-wordpress-using-react-native/" I have done my Login.js like this import React, { Component } from 'react'; import...

How to send message from a Vuejs to Contact-Form-7 with Wordpress REST api?

I installed Contact-Form-7 in my WordPress admin panel and this give me an API Endpoint in http://localhost/wordpress/wp-json/contact-form-7/v1/contact-forms I tried to send a POST request to this...

Cloudflare page rules using terraform-cloudflare provider does not update page rules

I am using Terraform + Cloudflare provider. I created a page rule the fist time I ran terraform plan + terraform apply. Running the same command a second time returns the error: Error: Failed to...

Amazon SES IP Fails SPF Check in DMARC

I use Amazon SES for transactional emails and use the WP SES Plugin to integrate with my WordPress. SPF fails for some of my emails which has the IP starting with 54.240.27. This seems to be...

social share button in angular 10 ngx-sharebuttons

I am implementing the ngx-sharebuttons for social share button like facebook, whatsapp. this is what I tried installed package npm i cdk npm i ngx-sharebuttons npm i...

Push XML DATA to REST API with PHP/cURL/JSON

I'm somewhat stuck on a problem. I'm attempting to write an app that basically reads and sorts DATA from an online XML file containing customers and recreates those customers in...

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the...

Wordpress wp-cron.php execution doesn't work

I have a multisite WordPress. I user WP Offload SES Lite to send emails. One day emails stopped working. In wp-ses I saw that many Emails are stuck in queue. Sending test email worked with no...

Wordpress error: There has been a critical error on this website. Please check your site admin email inbox for instructions

I'm running a wordpress/woocommerce website running PHP7 on Windows IIS. After clicking update plugins, I now get the following error when trying to do anything in the WP dashboard (the actual...

How to convert html list to text list?

Imagine you have the following html list: ['Welcome: <br>Email: maxdenhil.com<br>Bedrijfsnaam: Dternational<br>KvK-nummer (8-cijfers): 88888888<br>Factuur uploaden:...

Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback

https://i.stack.imgur.com/HdkBR.png Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, class Wcore_Admin does not have a method...