Manujith Pallewatte
Manujith Pallewatte
erm i did a drawer [left and right] with push/overlay and with onswipe for a extension of fries [had to make a framework for a project of mine], it's here...
check my last comment for a fix https://github.com/jdorn/php-reports/issues/227
## UPDATE just found out that PHP 7 has removed the support for /e in preg_replace so starting from PHP7 the custom json_decode breaks, it says to use preg_replace_callback instead...
FIX Add this to lib/PhpReports.php under json_decode function It will replace the preg_replace with preg_replace_callback for php7 systems ``` if(PHP_MAJOR_VERSION >= 7){ //replace single quoted values $json = preg_replace_callback('/:\s*\'(([^\']|\\\\\')*)\'\s*([},])/', function($m){...
I'm not sure why the above code isnt working, can you post the phpinfo here?
@DylanAlloy getting it on localhost with a script This is part of the code being used, ```python from langchain.vectorstores import Chroma class Index(): persist_directory = None collection_name = None embedding_function...
@jeffchuber ah i didn't know that, let me try removing the redundant `persist` and see if it solves the issue (It prolly would since this the line causing the issue)...