buddypress-group-email-subscription icon indicating copy to clipboard operation
buddypress-group-email-subscription copied to clipboard

"Undefined index" errors when assembling digest

Open boonebgorges opened this issue 10 years ago • 1 comments

From an email (in machine-translated English and original French). The user guesses that the guillemet character is causing a string to be truncated improperly. I can't see at a glance how this would work, but it needs some sort of investigation.

I think I found a bug with buddypress-group-email-subscription which you are one of the authors.

I had problems with access to our website and in the logs I found: [01-Jul-2014 14:24:41 UTC] PHP Warning: current() expects parameter 1 to be array, boolean given in /srv/data/web/vhosts../wp-includes/plugin.php on line 46819:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67 [01-Jul-2014 15:19:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67

In this case I think this is a string in a bbPress forum a BuddyPress group that problematic site is perhaps the type of quote '"' I searched the word "anciens" in the files and database. I found several but it could be a problem: [...\nToutes les commissions sont invitées, et même les "anciens" du projet.\nC'est lundi 21C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-) juillet, 19h au Parc tête d'or (Porte des Enfants du Rhône, cf plan ici: https://www.dropbox.com/s/t1fvm5m4l...).\nM'appeler ...] The file is ISO-8859-1 but I do not think it changes anything

Other error messages: [02-Jul-2014 09:32:09 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [02-Jul-2014 22:00:15 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-) [02-Jul-2014 22:07:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [02-Jul-2014 22:10:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-actiOther error messages:vity-subscription-functions.php on line 1182 [03-Jul-2014 07:41:47 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-) [03-Jul-2014 12:22:52 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182

This may be because it is an old plugin (which still has the old menu? .. Wp-admin/admin.php page = ass_admin_options) I hope it will be inserted into the heart of BP because for me the notification is inseparable from a social network :-)

Regards


Bonjour, Je me permets de te contacter puisque tu es membre de ce forum. Je ne parle pas bien anglais et j'ai du mal avec le système de gestion de bugs. J'ai traduis comme j'ai pu avec un système en ligne

Je crois avoir trouvé un bug avec buddypress-group-email-subscription dont tu es un des auteurs.

J'ai eu des problèmes d'accès a notre site et dans les logs j'ai trouvé : [01-Jul-2014 14:24:41 UTC] C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)PHP Warning: current() expects parameter 1 to be array, boolean given in /srv/data/web/vhosts../wp-includes/plugin.php on line 46819:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67 [01-Jul-2014 15:19:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67

Dans ce cas je crois que c'est une chaîne de caractère dans un forum bbPress d'un groupe buddyPress qui a poser problème au site c'est peut-être le type de guillemet '"'

J'ai regardé et cherché le mot "anciens" dans les fichiers et la base de donnée. J'en ai trouvé plusieurs mais ceci pourait poser problème: giner la suite tous ensemble.\nToutes les commissions sont invitées, et même les "anciens" du projet.\nC'est lundi 21 juillet, 19h au Parc tête d'or (Porte des Enfants du Rhône, cf plan ici: https://www.dropbox.com/s/t1fvm5m4l...).\nM'appeler Le fichier est en ISO-8859-1 mais je neBonjour, Je me permets de te contacter puisque tu es membre de ce forum. Je ne parle pas bien anglais et j'ai du mal avec le système de gestion de bugs. J'ai traduis comme j'ai pu avec un système en ligne

Je crois avoir trouvé un bug avec buddypress-group-email-subscription dont tu es un des auteurs.

J'ai eu des problèmes d'accC'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)ès a notre site et dans les logs j'ai trouvé : [01-Jul-2014 14:24:41 UTC] PHP Warning: current() expects parameter 1 to be array, boolean given in /srv/data/web/vhosts../wp-includes/plugin.php on line 46819:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67 [01-Jul-2014 15:19:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67

Dans ce cas je crois que c'est une chaîne de caractère dans un forum bbPress d'un groupe buddyPress qui a poser problème au site c'est peut-être le type de guillemet '"'

J'ai regardé et cherché le mot "anciens" dans les fichiers et la base de donnée. J'en ai trouvé plusieurs mais ceci pourait poser problème: giner la suite tous ensemble.\nToutes les commissions sont invitées, et même les "anciens" du projet.\nC'est lundi 21 juillet, 19h au Parc tête d'or (Porte des Enfants du Rhône, cf plan ici: https://www.dropbox.com/s/t1fvm5m4l...).\nM'appeler Le fichier est en ISO-8859-1 mais je ne pense pas que cela change quelque chose Autres messages d'erreurs : [02-Jul-2014 09:32:09 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [02-Jul-2014 22:00:15 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [02-Jul-2014 22:07:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [02-Jul-2014 22:10:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [03-Jul-2014 07:41:47 UTCC'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182 [03-Jul-2014 12:22:52 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182

C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options) J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)

boonebgorges avatar Jul 09 '14 14:07 boonebgorges

A user reported about the ass_bbp_disable_email() notice on wp.org. bbPress 2.5.4 is the culprit as they changed some parameters for a hook that GES was using.

Will need to workaround that. (This is fixed in #59).


The runtime error for digests is new. Will need to look into that.

r-a-y avatar Jul 09 '14 16:07 r-a-y