piwel
Forum Replies Created
-
Forum: Plugins
In reply to: [Improved Include Page] Password protected postsThanks for your reactivity and answer ?? Have a good day
Forum: Plugins
In reply to: Problem with JetPack module with Contact FormFor information, the problem does not take place if I’m connected as an admin on the backend.
I just add this lines in wp-content/plugins/jetpack/modules/contact-form/grunion-contact-form.php on line 1508 for it to work (but it’s not clean…)
if(!is_array($extra_fields)) { global $wpdb, $blog_id; $query = "SELECT post_id, meta_key, meta_value FROM wp_${blog_id}_postmeta WHERE post_id IN ($feedback_id) AND meta_key = '_feedback_extra_fields' ORDER BY meta_id ASC"; $result = mysql_query( $query, $wpdb->dbh ); $row = mysql_fetch_object( $result ); $extra_fields = unserialize($row->meta_value); }
Hi Jeremy,
I have the same problem here.
The patch you offer hides the error message, but it still makes the extra fields disappear from the e-mail that is sent, and from the confirmation page that is displayed to the user.
When you call “get_post_meta” to obtain the extra fields, the return is an empty string (which causes the warning to appear), even if there were extra fields.
The surprising point is that when you wait a couple of minute and refresh the confirmation page, that problem is solved by itself.
And for the record, I can still view the correct extra fields in the Feedback section of the admin, as soon as it is posted.
Forum: Plugins
In reply to: [Youtube Channel Gallery] Fatal errorThe problem comes from private videos in a playlist.
Add this line just before line 636 in the file for it to work, or unprivatise your videos :
if(!$media->group->thumbnail) continue;If the correction could be done in the plugin it would be great !
Thanks by advance.