After translating APK I have this warnings:
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in /var/www/apache2/html/includes/bootstrap.inc on line 771.
Comments
Comment #1
michelleAPK isn't ready for translation, yet. That said, if you can give me some clue what the problem is, I'd be happy to fix it. The error you're pointing to isn't in APK so it gives me no clue what might be wrong.
Michelle
Comment #2
Daniel A. Beilinson commentedSorry.
I can see this warnings in the panel's user_view template.
This's 767-772 from bootstrap.inc:
Comment #3
michelleThat really doesn't help me... That isn't APK code so the error could actually be coming from APK, Panels, CTools, Views, Content Profile, or anything else you have added to the user view page. Without someone doing some backtracing and seeing where the error is coming from, there's nothing I can do.
If it's still a problem when we get to RC and APK goes into string freeze, I'll do some debugging myself to try and repro it. If someone needs it fixed in the mean time, they'll need to do the leg work to find what, if anything, in APK is broken.
Michelle
Comment #4
Daniel A. Beilinson commentedOkay, thanx.
Comment #5
michelleIn reviewing this, I really doubt it's caused by APK. If someone can show otherwise, I'd be happy to fix it but I just don't have time to dig into it myself.
Michelle
Comment #6
Breakerandi commentedSame problem here
Comment #7
veritus commentedMaybe this will help you:
warning: Invalid argument supplied for foreach() in /www/htdocs/w00bcb3b/drupal/sites/all/modules/cck/includes/panels/content_types/content_field.inc on line 172.
You can see this warning when you go to panel and click on the "settings" of an block inside the panel.
I use the german drupal version. Could it be that this is the problem? i also see no profile information displayed on the user's profile although the user entered some information
Dominik
Comment #8
michelleThat error is coming from CCK. I don't know if the CCK/CTools integration was ever tested in other languages.
Michelle
Comment #9
chawl commentedsubs
Comment #10
e-fee commentedThe same here, have the problem in two installations with APK und ONLY using APK! If I manually create a panel page, everything is fine.
Also using the German version of Drupal.
Comment #11
Fidelix commentedI have the same problem. And i see it wont be corrected anytime soon.
Its a pity that other languages beside english cant use APK.
Comment #12
michelleWell, maybe someone who uses a language besides English should try and fix the problem with CCK. Complaining on here doesn't do any good.
Michelle
Comment #13
Fidelix commentedSorry about that. You are correct.
Anyway, i found a way to get around this.
I deleted all "content" items that had broken references in the "Content" tab in Page Manager, and rebuilt them.
Now the errors are gone.
Comment #14
michelleWell, it's good to know there's a workaround. Would be better if someone could fix the CCK/Panels integration itself, though.
Michelle