ampersand problem with wordpress categories

I have an array of categories, some with an & i.e. events & entertainment. My script imports these categories and gets the ID of each using its name. i.e.: $cat_id =...

contact form 7 mail not sending

I have used contact form 7 for one of my wordpress sites. I have also integrated wp-mail-smtp for sending mail. In local site is running properly but When I configure it on server it gives...

In Rails when using the Faker gem, Im unable to generate unique data. How to fix it?

When I run db:populate, it gives the following error : Validation failed: Email has already been taken, Nyaaid has already been taken The email should be unique and the ID should be unique!...

Wordpress + Constant Contact PHP SDK include path

I'm current trying to implement the Constant Contact PHP sdk into a wordpress site. Ask part of the SDK you have to include some core PHP files in order for the email code to work. If those files...

Use PHPmailer to send attachment

I'm using PHPmailer library to send emails and I need to send an attachment. Currently the file is stored on the server and I have the link to the file stored in var $link. I'm using the following...

robots.txt Not Updating

Today I received an email from Webmaster Tools stating that "Googlebot cannot access CSS and JS files". So I set about updating my robots.txt file located in the root of my server. Original...

Prevent infinite AJAX loop when using own API

I am currently trying to figure out integration between 2 Wordpress plugins: the WooCommerce Follow Up Emails plugin, and the Ninja Forms plugin (with the end goal that we can send a manual-type...

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

Using Wordpress User Credentials with a php script to send data to an iOS App

So I've been working my *%& off for the past two days to try to make this work but I always get stuck at the same part : Comparing the computer password received from the iOS App with the hashed...

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

create cloudformation template which create a Dev &Prod env with Multi AZ/ ELB, Wordpress installed with 1 RDS

hi i am currently working on a cloudformation template which creates one RDS instance, one EC2 instance in HA and Multi AZ and wordpress installed on it. however i want to create another ec2...

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

PHP Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in

I keep getting this error when I try to log in to my site and I have no idea how to fix it. What is missing? Someone edit this thing for me! PHP Warning: mysqli_real_escape_string() expects...

Contact Form 7 showing sent message but not receiving email

Experiencing issue with WP plugin, contact form 7. When I fill in the form and submit, I receive a success message stating it was sent yet I don't receive it in my emails. The mail is not in my...

admin-ajax.php returning 0

I'm currently working on a WordPress contact form, which is created as a plugin. I need the form after submit to send an email without reloading the page. When it reloads everything is ok. The...

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

How to delete WordPress Users from Database

We are using the Press Permit Plugin for permissions of users in wordpress. When we delete a user from the wp-admin panel, the user remains present in the database, so we have to connect 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,...

Manually Sending A New Order Email In Woocommerce

I would like to programmically fire a new order email, so it looks the same as the standard Woo Commerce email template. I am using the WC_Email_New_Order class, so I can made adjustment to the...

Email that is automatically parsed by Gmail and adds a Calendar event

I hope this question is OK to ask here, given that it could replace my usage for Google Calendar API I think it should be OK. https://stackoverflow.com/help/on-topic When you get an email about an...

How to have wp-cli commands work in a bash script from cron

I have a bash script with various WP-CLI commands to run a backup, check & optimize db tables, run a security vulnerability check, check available core, plugin, and theme updates, and then email...

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

Woocommerce custom payment gateway redirect back to woocommerce

I have a custom gateway, I am new to the custom plugins for woocommerce, now my problem I have is that I am able to redirect to my payment gateway but in my payment gateway (HTML) how do I...

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

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

KeyboardAvoidingView doesn't work properly on my app

I searched a lot about this issue and I don't know what to do now so I decided to ask here and any help would be appreciated. in my register screen I have some input that user must fill and for...

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