1,463,926 questions
Advice
0
votes
8
replies
80
views
Is $149 for an single-paged website in LA worth it?
I just got quoted $149 for a one-paged website in Los Angeles. Is this a fair price?
I found this company when I searched for web design near me and they seemed to provide the cheapest price. I have ...
0
votes
0
answers
67
views
I'm facing a "404 Not Found" issue with my images
I'm facing a "404 Not Found" issue with my images in a PHP project running on Laragon (Apache) and shared via Ngrok.
C:/laragon/www/IAKA_Tickets/
âââ app/
â âââ Views/
â âââ checkout....
2
votes
1
answer
88
views
Converting a PHP object array to a JavaScript object array
First, I retrieve data from the database using PHP oop and store it in a variable named $details. The result in $details is an array of several objects, usually about 7 in total. Each object within ...
Advice
0
votes
4
replies
51
views
I need to create an array from a foreach iteration from a lower value
I know that seasoned PHP would do this easily. My background is more from Obj-C/Swift, and I haven't been able to come up with an elegant/optimal solution to this issue without iterating three times ...
Advice
0
votes
1
replies
29
views
How I can stop Action Scheduler from a Wordpress Plugin?
I get notification in my blog:
Action Scheduler: 22 [past-due actions] found; something may be wrong
How can I stop this information action without using an additional plugin?
2
votes
0
answers
58
views
Show top-level product categories on specific WooCommerce pages [closed]
I'm using code that displays top-level product categories on all pages of the site.
/* Adding top-level product category */
add_action('woodmart_after_header', 'show_top_level_categories', 30);...
3
votes
1
answer
91
views
PHP - cURL library - curl_error() "Illegal port number in EPSV reply"
Here is my code (fake data of course):
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
$curl = curl_init();
$file = fopen("x.x", 'w');
curl_setopt($curl, CURLOPT_URL, &...
Advice
0
votes
3
replies
103
views
Displaying information from php arrays in html
I have an apache webserver and a browser plugin. The Plugin does check form which website something is downloaded from and checks if it is downloaded from a specific domain. If so it fetches some data ...
1
vote
0
answers
65
views
Paystack webhook response not reaching PHP server after successful payment [closed]
After payment is successful, the paystack payload doesn't reach my server. These are the things I have done so far to narrow down the issue.
I pointed the webhook url to webhook.site and I received ...
1
vote
2
answers
76
views
Symfony MapQueryString doesn't allow optional parameters
I have a simple endpoint which has optional query parameters used for filtration. In my controller I use MapQueryString to map them to a DTO and validate inside. The problem is when I call the ...
Advice
2
votes
1
replies
128
views
PHP 8.4 OPcache calling wrong internal functions â round() becomes sin(), file_get_contents() becomes unlink()
We recently set up a new server on RunCloud with PHP 8.4.16 (NTS) + Zend OPcache v8.4.16, JIT disabled. We're running a Yii2 application. Since the setup, we're experiencing random TypeError and ...
3
votes
1
answer
106
views
How to debug Laravel 12 Cors (No 'Access-Control-Allow-Origin' header is present on the requested resource)
Apparently CORS just works with Laravel 12, but it doesn't work for me.
Starting from scratch, then
install/api
config:publish cors
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' =...
Best practices
1
vote
3
replies
80
views
Tracking GTM real login/registration form conversion (not button click) - same GA4 ID on prod & preprod, AJAX form, no thank-you page
I'm working on a GTM implementation to track successful login and account
registration conversions on a client's customer peprod portal.
One important constraint I discovered after joining the project:...
1
vote
1
answer
68
views
Load post inside div with AJAX in Wordpress
I'm building a website in Wordpress. To resume, I would like to load posts (from my custom post type 'project') dynamically with AJAX inside the div .js-panel-content, by clicking a button with the ...
3
votes
0
answers
148
views
NativePHP: New Android application [closed]
I've made a clean build of NativePHP (https://github.com/lyskouski/app-game-fantasyland)
composer create-project laravel/laravel .
composer require nativephp/mobile
php artisan native:install
php ...