I have a WooCommerce store here: http://vanuatucoffeeroasters.com
Sometime between Jan. 17 and Jan. 26, the admin email notifications stopped working. However, when I place an order, I get a user email notification just fine.
What I have tried:
Testing wp_mail using Email Log plugin (sends successfully)
Testing PHP Mail using PHP mail test script (sends successfully)
Sending email to the email address that's not receiving notifications (successful)
Whitelisting the IP address of the sending server (no effect)
Deactivating and reactivating WooCommerce (no apparent effect)
Here is my system report:
WordPress Environment
Home URL: http://vanuatucoffeeroasters.com
Site URL: http://vanuatucoffeeroasters.com
WC Version: 2.4.10
Log Directory Writable: ✔ /nfs/c07/h01/mnt/99231/domains/vanuatucoffeeroasters.com/html/wp-content/uploads/wc-logs/
WP Version: 4.3.8
WP Multisite: –
WP Memory Limit: 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: –
Language: en_US
Server Environment
Server Info: Apache/2.2.22
PHP Version: 5.6.21
PHP Post Max Size: 64 MB
PHP Time Limit: 300
PHP Max Input Vars: 7000
SUHOSIN Installed: –
MySQL Version: 5.1.72
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 2.4.10
:
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_termmeta: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
Active Plugins (12)
Column Shortcodes: by Codepress – 0.6.6
Contact Form 7: by Takayuki Miyoshi – 4.3.1
Custom Sidebars: by WPMU DEV – 2.1.0.2
Email Log: by Sudar – 1.9.1
Bundle Rate Shipping Module for WooCommerce: by Eric Daams – 1.3.3
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
Smart WYSIWYG Blocks Of Content: by Coen Jacobs – 0.6.1
Responsive WordPress Slider - Soliloquy Lite: by Thomas Griffin – 2.4.0.8
Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri
Inc – 1.8.3
WooCommerce Product Archive Customiser: by jameskoster – 0.5.0
WooCommerce: by WooThemes – 2.4.10
Yoast SEO: by Team Yoast – 3.0.7
Settings
Force SSL: –
Currency: USD ($)
Currency Position: left_space
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
API
API Enabled: ✔
API Version: 3.0.0
WC Pages
Shop Base: #715 - /buy-a-bag/
Cart: #659 - /cart/
Checkout: #451 - /checkout/
My Account: #452 - /my-account/
Taxonomies
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Theme
Name: LaMonte
Version: 1.2
Author URL: http://www.templatesquare.com/
Child Theme: ✔
Parent Theme Name: Klasik
Parent Theme Version: 0.7.13
Parent Theme Author URL: http://www.klasikthemes.com/
WooCommerce Support: ✔
Templates
Overrides: klasik/woocommerce/archive-product.php
There is a bit of an odd issue with contact form 7 at the moment if you are using recaptcha plugins, if you use these turn them off for testing and then try a different plugin.
This is not exactly an answer, but somehow this problem has fixed itself. And the client is shutting down the site, so it is no longer an issue.
Related
I put my github pat token into ~/.renviron
GITHUB_PAT=xxxxxxx
I check in R console on Rstudio that it is indeed there:
> Sys.getenv()[grepl('GIT', names(Sys.getenv()))]
GIT_ASKPASS rpostback-askpass
GITHUB_PAT ghp_xxxxx
However, Rstudio still asks for credentials (username + password) every DAY I git push/pull.
After I put in credentials the first time, I do not need to for the rest of the day. But the next I will have to put them in again.
I can push/pull in terminal without entering credentials
This is on my ubuntu EC2 + rstudio. Locally I can get renviron to work with my github pat.
The remote is set with HTTPS
I put in my github credentials into ~/.renviron
EDIT:
> usethis::git_sitrep()
Git config (global)
• Name: 'Victor Yuan'
• Email: 'victor.2wy#gmail.com'
• Global (user-level) gitignore file: <unset>
• Vaccinated: FALSE
ℹ See `?git_vaccinate` to learn more
ℹ Defaulting to 'https' Git protocol
• Default Git protocol: 'https'
• Default initial branch name: <unset>
GitHub
• Default GitHub host: 'https://github.com'
ℹ '/home/ubuntu/.Renviron' defines environment variable(s):
- GITHUB_PAT
This can prevent your PAT from being retrieved from the Git credential store.
ℹ If you are troubleshooting PAT problems, the root cause may be an old, invalid PAT defined in '/home/ubuntu/.Renviron'.
• Call `edit_r_environ()` to edit that file.
ℹ For most use cases, it is better to NOT define the PAT in `.Renviron`.
Instead, call `gitcreds::gitcreds_set()` to put the PAT into the Git credential store.
• Personal access token for 'https://github.com': '<discovered>'
• GitHub user: 'wvictor14'
• Token scopes: 'gist, repo, user, workflow'
In wso2 api manager 3.2.0 when I run dashboard I get following exception :
WARN {org.wso2.msf4j.internal.MSF4JHttpConnectorListener} - Unmapped exception feign.RetryableException: cannot retry due to redirection, in streaming mode executing POST https://ip address:9443/client-registration/v0.16/register
Dashboard config file:
## Authentication configuration
auth.configs:
type: apim
ssoEnabled: true
properties:
adminScope: apim_analytics:admin_carbon.super
allScopes: apim_analytics:admin apim_analytics:product_manager apim_analytics:api_developer apim_analytics:app_developer apim_analytics:devops_engineer apim_analytics:analytics_viewer apim_analytics:everyone openid apim:api_view apim:subscribe
adminUsername: admin
adminPassword: admin
kmDcrUrl: https://172.25.129.66:9443/client-registration/v0.16/register
kmTokenUrlForRedirection: https://172.25.129.66:9443/oauth2
kmTokenUrl: https://172.25.129.66:9443/oauth2
kmUsername: admin
kmPassword: admin
portalAppContext: analytics-dashboard
businessRulesAppContext : business-rules
cacheTimeout: 30
baseUrl: https://172.25.129.69:9643
grantType: authorization_code
publisherUrl: https://172.25.129.66:9443
devPortalUrl: https://172.25.129.66:9443
externalLogoutUrl: https://172.25.129.66:9443/oidc/logout
The kmDcrUrl should be
https://172.25.129.66:9443/client-registration/v0.17/register
In API-M 3.2.0, the DCR endpoint version is v0.17. In the config you have provided, the version is v0.16.
The Dashboard configuration for API-M 3.2.0 can be seen in Step 4.2 - Point 4
we have a problem with WP Mail SMTP not being able to send mails.
Environment setup:
We are running on PHP 7.3
Our WordPress instance is actually an Amazon BeansTalk application with load balancer architecture that runs on Amazon Linux 2
SMTP Service : We are using Google SMTP
SMTP Plugin : WP Mail SMTP
Debug when sending a mail via the test mail function of the plugin :
Versions:
WordPress: 5.4.1
WordPress MS: No
PHP: 7.3.16
WP Mail SMTP: 2.1.1
Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: Yes
Access Token: Yes
Server:
OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): 7.61.1
PHPMailer Debug:
Invalid address: (setFrom) wordpress#
Try with function.php, Add your own code its easiest way. Use wp_mail() function.
I use SSH keys in my wp-config since a long time. Updates, plugin installation and removal, all worked well. After the last apt-get update wp is asking for the FTP password when I try to install for example a plugin.
There was no change done to the wp installation nor the file or directory permissions. I did not update wp either.
define('FTP_PUBKEY','/home/wp-user/wp_rsa.pub');
define('FTP_PRIKEY','/home/wp-user/wp_rsa');
define('FTP_USER','wp-user'); define('FTP_PASS','');
define('FTP_HOST','127.0.0.1:22');
Ubuntu 14.04
WORDPRESS VERSION: 4.7.6
PHP VERSION: 5.5.9-1ubuntu4.22
WEB SERVER INFO: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f
EDIT:
I added below to my wp-config to see if it changes something.
define('FS_METHOD', 'ssh2');
No I'm getting a different error message in the WP backend:
The ssh2 PHP extension is not available
...but ssh2 is installed and loaded:
# php -m |grep ssh2
ssh2
Seems to be a bug in libssh2-php...
https://bugs.launchpad.net/ubuntu/+source/php-ssh2/+bug/1617294
Installing the WP plugin below allows me again to install/update as before.
https://en-ca.wordpress.org/plugins/ssh-sftp-updater-support/#description
I am running OSX Sierra 10.12.5 with PHP 5.6.30 and have a local Wordpress / WooCommerce setup with the "woocommerce-gateway-paypal-express-checkout" plugin installed. I am seeing an error in the admin relating to my OpenSSL version:
WooCommerce Gateway PayPal Express Checkout requires OpenSSL >= 1.0.1 to be installed on your server
I also have other issues with cURL request to https pages, as well as the Wordpress update check not working; which I understand to be related.
In my php info, I have this entry for OpenSSL
OpenSSL support enabled
OpenSSL Library Version LibreSSL 2.2.7
OpenSSL Header Version LibreSSL 2.2.7
Openssl default config /private/etc/ssl/openssl.cnf
From the command line, the version is reported as:
openssl version
OpenSSL 0.9.8zh 14 Jan 2016
which openssl
/usr/bin/openssl
Lastly, the server environment reported by WooCommerce status is:
### Server Environment ###
Server Info: Apache/2.4.25 (Unix) LibreSSL/2.2.7 PHP/5.6.30
PHP Version: 5.6.30
PHP Post Max Size: 8 MB
PHP Time Limit: 31
PHP Max Input Vars: 1000
cURL Version: 7.51.0
SecureTransport
I am at a loss as to how to fix this. I understand that the LibreSSL is a branch of OpenSSL, and is more secure. I have searched for a solution, and several seem to suggest running brew install openssl and then brew upgrade openssl. This doesn't seem to fix the problem. I know there are several similar or related questions, but most of the responses were either a couple of years old, or seemed to cause other problems.
I have several machines with this problem and would really like to get a better understanding for what is going wrong.