Bit of a hard one to debug as I’m working with both a new version of PHP and a new OS on a new server. I have a cron management system in PHP that allows me too add / remove or enable / disable cronjobs. On another current Deb 8 server with PHP 7.2 it works flawlessly using the following
Uncaught Error: Call to undefined method mysqli_stmt::fetchAll()
I have following lines of code to fetch multiple records using PHP 7.3 $query = “Select * from tblorders”; $stmt = $connection->prepare($query); $stmt->execute(); $…
Php : Separate file content into different files [closed]
I have this file 1 + 3 = 4 0 + 0 = 0 1 + 2 = 3 1 / 1 = 1 2 * 3 = 6 I want to separate the (firstNum, secondNum, operationUsed(+,-,*,/), and result) into 4 different files
Why does my form not get submitted when I press the submit button? [closed]
so my problem is simply that this form doesn’t get submitted. When I press the submit button or the reset button nothing happens. Any ideas? (I’m using xampp if that has anything to do with it, I’m …
Hide specifics elements from “Add media” in WP
Trying to hide some elements “actions” from the “Add Media” window. the thing is, I need to hide those actions in a specific post type Tried the following snippet, of course not …
WooCommerce: Hide other shipping methods except local pickup when free shipping is available
I do not want to hide Local Pickup when free shipping is available. Removing local pickup makes no sense, but I cannot figure out how to not remove it using the official code. This is my attempt in removing flat_rate1 since that is, for me, the paid option. Again, I want to keep FREE shipping and LOCAL pickup…
Output inconsistent when checking if first string’s characters in second string php
I’m trying to check if ALL the first string’s ($str1) characters are in the second string ($str2). If all of $str1’s characters are in $str2, it should display “Bingo!”, if not it should …
PhpStorm marking used CSS selectors as unused
I wanted to use PHP in my CSS so I changed the file extension of my .css file to .php and instead of using I used require_once to include it into my other file. Now PhpStorm sees the …
Trigger Stripe SCA redirection for authentication
I have this stripe file StripePayment.php and i am charging the card like this This code is able to charge cards but can’t charge cards where 3D/SCA is required i.e European cards. My question, is there a way i can request stripe to redirect the user to the card issuing bank for authentication so that t…
Removing an Modx extra manually
I have installed a few extras via Installer but removed them later. However, Installer has not been able to remove them successfully. For example, site log is now full of error messages of partially installed/removed extras. How could I remove manually all traces of these extras? Where is the data stored? Ans…