Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [php]

PHP is an open-source, multi-paradigm, dynamically-typed, and interpreted scripting language designed initially for server-side web development. Use this tag for questions about programming in the PHP language.

-1 votes
0 answers
12 views

comment résoudre le problème de memoire limité de laravel [closed]

PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 360448 bytes) in D:\ibetaservice\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php on line 52 ...
IBRAHIMA BAH's user avatar
-3 votes
1 answer
16 views

Laravel maintenence mode timestamp?

Does anyone know an easy way to get a timestamp of when your laravel app is put into maintenance mode? I want to display a message on my view which says "last updated xxxxx"
sgledhill's user avatar
0 votes
0 answers
5 views

Error with Doctrine ORM attribute after converting code from annotation

I am upgrading from PHP7 to PHP8, ran my doctrine entities through Rector to update the annotations to attributes. I'm getting the following error that I cannot get past: Attribute "Doctrine\ORM\...
jeremib's user avatar
  • 741
0 votes
0 answers
8 views

Want to sort with maximum variation price in custom code woocommerce

I am trying to sort WooCommerce products with maximum variation price. Site contains simple and variable products. My Query is sorting them by price, but the issue is that it is picking up the minimum ...
Kapil Goyal's user avatar
0 votes
0 answers
11 views

How to allow customers to update their sales channel in admin interface in a Shopware 6 plugin?

I'm working on an e-commerce platform where customers are assigned to sales channels. Currently, this information is stored in the database, but can only be updated through direct database queries. I ...
Auhona's user avatar
  • 125
-3 votes
1 answer
33 views

Including navbars using Php [duplicate]

I've been working on my first ever fully fledged web project to try and learn php, and after copying and pasting my top navbar into the 15-ish pages that I have and the styling for it into the 15ish ...
georges kalouch's user avatar
-1 votes
0 answers
20 views

Laravel is not rendering pages and is way too slow, literally unusable [closed]

I am trying to deploy a laravel app to a ubuntu server, i have installed php, composer, mysql, and apache. I upload the files to /var/www/html and set up the database, but the pages are not loading at ...
isuckatcode's user avatar
0 votes
0 answers
16 views

woocommerce_cart_item_price doesn't update mini cart subtotal

I am adding an array of free gift products to the cart when certain conditions are met. I have used woocommerce_cart_item_price to set the price of the products in the mini cart. However, it is adding ...
Saugat Karki's user avatar
0 votes
1 answer
31 views

Display an Alert When User Session Expires in Laravel

I am using the Laravel framework and would like to create an alert when the session expires. I tried implementing a JavaScript code that checks if the user is logged in every three seconds as follows: ...
Rodrigo Franco's user avatar
0 votes
0 answers
13 views

IMAP Error: EXPUNGE not allowed in session state when creating folder in Laravel

When trying to use the EXPUNGE command after creating folders with the IMAP server, we receive the following error: BAD [ALERT] i.<unique_id> EXPUNGE not allowed in session state The EXPUNGE ...
F-M-A's user avatar
  • 43
0 votes
0 answers
12 views

Filtering by Custom Taxonomy and Meta Fields in WordPress Produces Inconsistent Results

I'm building a custom WordPress theme for a job listing site, and I'm encountering an issue with filtering job listings. My site has custom post types and taxonomies for job categories and job types. ...
kirini maryame's user avatar
0 votes
1 answer
11 views

PHPSpreadsheet, how do I set different layout for each series in a composite graph?

I am trying to create charts in excel using the PHP library PHPSpreadSheet. But when I generate a composite graph with multiple types of graphs together, I get overlapping data labels. Stacked bar + ...
Ankit Singh's user avatar
0 votes
0 answers
14 views

TBS TinyButStrong on PHP laravel : pptx template that doesn't work with certain fonts or font colors

To sum up quickly: I'm working on a mutual insurance application where the salesperson can generate a powerpoint. The powerpoint is generated thanks to a template and this template is filled with tags ...
M0rph5us's user avatar
-3 votes
0 answers
22 views

Loading local host slow [closed]

So i am doing a project using Laravel Php, so actually the project has been upload on live server, and the issue i am having is i am task with modifying the webpage a little, but the issue is after ...
Rock Sora's user avatar
-1 votes
1 answer
25 views

laravel model pages not communicating properly

Working on a client project, hit a setback. Laravel is reading "Call to undefined relationship [service_item] on model [App\Models\Service]". It's simply trying to read data from two ...
Graeme Robinson's user avatar

15 30 50 per page
1
2 3 4 5 6