No3x
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Mail Logging] XML Markup Compatibility with v1.8.5Yes, please just leave a message as it is stored in the database. I guess it’s rendered fine in the current dev version of the plugin that will be released as 1.8.6.
Forum: Plugins
In reply to: [WP Mail Logging] WP Mail Logging LogThis is related to
https://github.com/No3x/wp-mail-logging/issues/76I don’t have a solution for this.
Forum: Plugins
In reply to: [WP Mail Logging] PHP Notice: Undefined index: REMOTE_ADDRPlease see https://github.com/No3x/wp-mail-logging/issues/72
The fix will be included in the next release. It’s planned for 1.8.6.
Forum: Plugins
In reply to: [WP Mail Logging] Error LogsThe hover text should show the error, if it was able to log.
Forum: Plugins
In reply to: [WP Mail Logging] Database Error: Column ‘mail_id’ cannot be nullA normal INSERT looks like:
INSERT INTO 'wp_wpml_mails'('mail_id','timestamp','host','receiver','subject','message','headers','attachments','error','plugin_version') VALUES (NULL, '2019-01-10 14:39:05', '172.17.0.32', 'B@B.B', 'Subject', 'Content', 'From: \"B\" <B@B.B>\r\n', '', NULL, '1.8.5')So it’s pretty much the same as yours. This tells us that the error must be in the database scheme.
int(11)–INTis okay, 11 limits the number of digits when viewing the data via cli (very unimportant for the issue). The max ID is 2147483647.
The column is created during the installation as:
'mail_id' INT NOT NULL AUTO_INCREMENT. You should be able to verify this in phpmyadmin.- This reply was modified 7 years, 5 months ago by No3x.
Forum: Plugins
In reply to: [WP Mail Logging] Database Error: Column ‘mail_id’ cannot be nullHi @jordh,
It appears that the value for ‘mail_id’ gets lost somewhere before attempting to insert the logged mail into the database.
NULL ist ok for the insert – it tells the RDBMS to figure out an id. In the case of the plugin it’s an autoincrement integer.
So that’s not the issue for a “stable” installation of the plugin. Did you use a DB migration tool? I think the database schema changed somehow and introduced the issue by accident.I use WPML(WP Mail Logging) here and there as abbreviation – obiously there is a clash with Worpress Multilingual. But I’m not aware of any issues with it yet.
Forum: Plugins
In reply to: [WP Mail Logging] Conflict with Woocommerce Version 3.5.3Works fine for me
WordPress version: 5.0.2
WooCommerce version: 3.5.3
WP Mail Logging version: 1.8.5Woo wouldn’t send emails
Order Actions > Email Invoice doesn’t send/log a mail for me. Guess it should but I’m not familiar with woocommerce in any way. Checked also with another mail logging plugin – no log. The wp_mail hook was not fired from woocommerce – probably a bug in woocommerce.
I was getting an error
Attaching these errors might help to solve the issue.
I don’t get any errors.Please follow https://wordpress.org/support/topic/how-to-get-best-support/ to get support.
Forum: Plugins
In reply to: [WP Mail Logging] Plugin Installed & Activated – No email RecordsSorry I meant *not retroactive.
Forum: Plugins
In reply to: [WP Mail Logging] Why do you to use Redux for small plugin?Hi @hellnik,
There has always been dispute about the usage of redux in the plugin. It is work in progress to remove redux. Please search the forums and github for discussions about that, if you are interested.
Forum: Plugins
In reply to: [WP Mail Logging] Plugin Installed & Activated – No email RecordsHi @everincreasingfreedom
Of course it is retroactive. Does Logging suggest something else?I hope the plugin is useful for you anyway.
- This reply was modified 7 years, 5 months ago by No3x. Reason: fixed typo
Forum: Plugins
In reply to: [WP Mail Logging] Multiple recipients seperate by multiple newline charactersForum: Plugins
In reply to: [WP Mail Logging] Multiple recipients seperate by multiple newline charactersPlease check with the next release. I have worked on this to ensure the to’s are stored as ,\n.
The current (development) implemention seems to work well with this:$headers = explode( "\\n", str_replace( "\\r\\n", "\\n", $mail->get_headers() ) ); $headers = array_map(function ($header) { return rtrim($header, ","); }, $headers);
Oops, mistaken the code above with the headers implementation. Yes, your suggested change should work.- This reply was modified 7 years, 6 months ago by No3x.
Forum: Plugins
In reply to: [WP Mail Logging] Attachments not attaching correctly when resendingForum: Plugins
In reply to: [WP Mail Logging] Attachments not attaching correctly when resendingYes, that’s a bug. A lot of attachments are transient and are deleted soon after sending so you can rely on that in some cases only.
Forum: Plugins
In reply to: [WP Mail Logging] WordPress DB Error – Unknown COlumnIt should be created on activation.
Please delete the WPML_installed falg in the wp_options table then.It checks if the table is present in the database – do you use a recent version of the plugin?- This reply was modified 7 years, 6 months ago by No3x.