The following error appear on Bootstrap theme, on "\contact" page:
----
Notice: Array to string conversion in Drupal\bootstrap\Plugin\Preprocess\BootstrapPanel->preprocessVariables() (line 105 of themes/bootstrap/src/Plugin/Preprocess/BootstrapPanel.php).
Notice: Array to string conversion in Drupal\bootstrap\Plugin\Preprocess\PreprocessBase->preprocessDescription() (line 82 of themes/bootstrap/src/Plugin/Preprocess/PreprocessBase.php).
Notice: Array to string conversion in Drupal\bootstrap\Plugin\Preprocess\PreprocessBase->preprocessDescription() (line 83 of themes/bootstrap/src/Plugin/Preprocess/PreprocessBase.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | captcha-3025328-2.patch | 456 bytes | babusaheb.vikas |
|
Comments
Comment #2
babusaheb.vikas CreditAttribution: babusaheb.vikas commentedHi Londova,
The Id of an element must be unique so it should not be an array.
So, please apply this patch.
Thanks
Comment #3
Londova CreditAttribution: Londova commentedYes
it works for me.
Thank You.
Comment #4
babusaheb.vikas CreditAttribution: babusaheb.vikas commentedComment #5
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedI think it should be reviewed and commited if error exists, why did you mark it as fixed?
Comment #6
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedI will review it in several hours.
Comment #7
malcolm_p CreditAttribution: malcolm_p commentedThis fixes these notices for me as well.
Comment #8
Londova CreditAttribution: Londova commentedWhat is the reason to delay the Closure of this issue and to update the module respectively?
Comment #9
chrisolof CreditAttribution: chrisolof at Lima Solutions for CivicSolar, Inc. commentedThe patch in #2 fixes the error by setting the element's ID attribute to a string instead of an array. This makes sense because an element cannot have more than one ID.
Comment #10
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedComment #11
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedCommitted, thanks! :)
Comment #12
Londova CreditAttribution: Londova commented#wundo,
It took 4 month to implement a simple patch, proposed by #babusaheb.vikas
Do you think this is a good productivity?
Comment #13
Londova CreditAttribution: Londova commentedI was surprised to find this error after updating to the last "dev" version !!!
Issue fixed, but not included in the last version? What is that?
Comment #14
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #16
malcolm_p CreditAttribution: malcolm_p commentedI'm also seeing that this issue is not resolved as it is not committed to the dev branch. The original patch still applies though. Can we get this addressed and committed?
Comment #17
pick_d CreditAttribution: pick_d commentedI get same errors since I've updated to 8.x-1.0-beta2. So this issue is back, I guess.
Comment #18
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedThere was a regression caused by one of the git merges that were done last week.
I've just pushed the fix again, I'm sorry for any inconvenience.
Comment #19
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedThe commit hash that re-fix this is ff6ba3138c39d4cf4789f595fe18c896aef20275
Comment #20
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedAnd this is the release with the fix https://www.drupal.org/project/captcha/releases/8.x-1.0-beta3
Comment #21
pick_d CreditAttribution: pick_d commentedUpdate fixed that for me. Many thanks.
Comment #22
alexeye CreditAttribution: alexeye commentedThe same problem as here https://www.drupal.org/project/captcha/issues/3025341, Error while "Get new captcha". If click "get new captcha" recieve blank page with message, like:
{"status":1,"message":"","data":{"url":"\/image-captcha-generate\/ bla-bla"}}
Drupal 8.8.6, Captcha 8.x-1.0. Patch cannot be applied, recieve error: " Could not apply patch! Skipping. The error was: Cannot apply patch PATHTO/captcha-3025328-2.patch" . (there are no problems with other patches)
Check it please
UPD: Captcha 8.x-1.1