I have a problem when I am trying to POST data to third party API. I'm getting an error As far as I know yii manages headers by itself and I added ...
I have a problem when I am trying to POST data to third party API. I'm getting an error As far as I know yii manages headers by itself and I added ...
The following code produces the mentioned error. What is the fix for PHP 8.2? PHP Warning – yii\base\ErrorException Trying to access array offset on ...
I want to create a site with a channel. On this channel, I want to post activities. Inside the entry, there will be a category selectable with an emai ...
Need help on filtering multiple attributes using only one filter attribute. After doing $filter->build(), the filter condition only builds the f ...
I am using yii2, I have three fields num1,num2,num3. I want to add validation, num2 input should be greater than num1 input, so I am using compare rul ...
I want to ask about debugging Yii 1.1 applications. I've tried implementing the answers on StackOverflow and other websites, but my VSCode still can't ...
I have a website built on Yii framework, I am facing the issue that the images uploaded on the website by users are making the website slow hence my b ...
Is there any tool or programming technique to capture the output from Yii2 migrations to up/down SQL scripts, that is, print the migration correspondi ...
I am programming a ConsoleController command for edit some values in some Databases. The problem is when I try to save the Model. I want to deactiv ...
I have been given an application to keep running that is using Yii 1.1. For the time being I can not update it to Yii 2.0. The problem I'm having is t ...
I have a simple project in bootstrap 3 now I would like upgrade to bootstrap 5, but when I try install bootstrap 5 I get an error. This is part of ...
I am using php with yii framework to integrate with an external API. The goal is to submit a form that sends a request with 2 parameters to an interna ...
How to set my template and labelOptions in Select2 in Yii2? For a regular field, this can be done via field->labelOptions and field->template. A ...
How to turn the next menu into a Dropdown menu? At the moment the menu is not closed and opens Thanks Example: ...
I have a Yii project running on website.com and need to add a static folder with static HTML files in it so it will look like this: website.com/fa ...
I have this SQL query which is doing what I want: I tried replicating it as a Yii Query Builder like that: But I printed the SQL this Query Buil ...
I format slug like the following How to add target='_blank' ? ...
I have a yii application. And I am using the and in the column value of the widget I have this function: And the model Resul looks like this: ...
My question is pretty straight-forward. I tried to get StudentId that was stored inside Yii::$app->user->getId(), but for some reasons it ignore ...
I have my site.css in my web/css/ which i declared here How do i get AssetBundle to copy it into the assets folder to make it look like this < ...