Skip to content

Tag: php

PHP: how to make startup warnings fatal?

I try to make a verification process for my PHP preloading script. In order to ensure that I don’t have un-managed classes I’m running a script in CLI like: I’m getting a warning because one of the class cannot be complied du to missing dependencies. E.g.: That’s great but the issue I …

Is it possible to use placeholders on ?

I’m currently working on at the displaying of information from a database. I was making a summary site where you can only see the important things of a table. After that i made the first element as an <input type=”submit”> in a <form>, so u can click it and come to the detail sit…

PHP fpm – value is NULL for a ZEND_INI_PARSER_ENTRY

I have a server running LEMP stack that hosts a wide range websites. During the night, all the sites got shutdown and the message “502 bad gateway” Is displayed. I followed the stream of errors and concluded that php7.4-fpm was the issue. I need help to figure out how to solve the error below. NOT…

Submit a Form to Custom Route in osclass

I am making an osclass plugin. I have added a page for my plugin in the admin section of the site. I have also created a route for my plugin. What I would like to do is create a form on my plugin’s page in the admin. The action attribute of this form will be the base url of my