I have a field that stores a 1,2 or 3 from a checkbox selection. All works fine except when I try to batch update records, it throws the error: PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /srv/http/....
--
You received this message because you are subscribed to the Google Groups "Xataface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xataface+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xataface/4c3fdccd-e23d-4746-89f4-3116f5b52d88n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xataface/972acb82-017e-428c-9b8f-be4a9fc110edn%40googlegroups.com.
Hi Steve, I will attach the file. I cant view a record with the new code from master, here is the error:
PHP Fatal error: Uncaught Error: Call to a member function fields() on null in /srv/http/xataface/Dataface/RecordView.php:31\nStack trace:\n#0 /srv/http/xataface/Dataface/SkinTool.php(578): Dataface_RecordView->__construct()\n#1 /srv/http/BMdata/templates_c/dataface/%%C1^C17^C174B680%%Dataface_View_Record.html.php(15): Dataface_SkinTool->record_view()\n#2 /srv/http/xataface/lib/Smarty/Smarty.class.php(1259): include('...')\n#3 /srv/http/xataface/lib/Smarty/Smarty.class.php(1109): Smarty->fetch()\n#4 /srv/http/xataface/Dataface/SkinTool.php(425): Smarty->display()\n#5 /srv/http/xataface/public-api.php(635): Dataface_SkinTool->display()\n#6 /srv/http/xataface/actions/default.php(51): df_display()\n#7 /srv/http/xataface/Dataface/Application.php(3715): dataface_actions_default->handle()\n#8 /srv/http/xataface/Dataface/Application.php(3857): Dataface_Application->handleRequest()\n#9 /srv/http/xataface/Dataface/Application.php(3743): Dataface_Application->_display()\n#10 /srv/http/BMdata/index.php(51): Dataface_Application->display()\n#11 {main}\n thrown in /srv/http/xataface/Dataface/RecordView.php on line 31, referer: http://192.168.0.5/BMdata/index.php?-table=Batch
[Tue Mar 05 08:56:14.184972 2024] [authz_core:debug] [pid 914] mod_authz_core.c(815): [client 192.168.0.6:53302] AH01626: authorization result of Require all granted: granted