5 questions from the last 7 days
Score of -2
0 answers
111 views
Unable to connect PHP 7.0 to MySQL 8.4.7 [closed]
I am trying to connect PHP 7.0 app to MySQL 8.4.7. MySQL is running in Docker and I am using these command parameters:
db:
image: mysql:8.4.7
command: >
--character-set-server=...
Score of 1
0 answers
84 views
PHPUnit Coverage for preg_match
I have this very simple code which I am failing to see how to reach a coverage target of 100%.
final class StringValidator
{
public function matches(
string $pattern,
string $...
Score of -1
1 answer
91 views
file not being deleted after its expiry time passes
I'm trying to make a rate limiting function that prevent users from using specific forms when they reach a certain threshold. The limit will get reset after a certain amount of time. When a user ...
Score of -1
0 answers
85 views
Elementor editor stuck on infinite loading spinner on localhost (XAMPP) after removing Elementor Pro [closed]
I'm running WordPress locally using XAMPP on Windows.
Environment:
- WordPress: 6.8
- Elementor: 3.34.2
- PHP: 8.2.12
- Apache: XAMPP
- MySQL: XAMPP
Problem:
My website loads normally in the frontend, ...
Score of 0
0 answers
111 views
Woocomerce no product found hook not working
I am trying to execute a code on the product attribute page where there are no products this is my page as an example https://shop.mmstore.be/merk/rosso/. The problem is that the hook
add_action( '...