kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
MIT License
1.3k stars 949 forks source link

Message: Required parameter $limit follows optional parameter $lang #221

Closed akm1967 closed 3 years ago

akm1967 commented 3 years ago

What am I trying to do.. Click on Blog Menu ..What's happening Getting bellow Error: A PHP Error was encountered Severity: 8192

Message: Required parameter $limit follows optional parameter $lang

Filename: models/Blog_model.php

Line Number: 34

akm1967 commented 3 years ago

Same Error comes for "Shopping Cart" & "Checkout" A PHP Error was encountered Severity: Warning Message: Trying to access array offset on value of type int Filename: redlabel/shopping_cart.php

A PHP Error was encountered Severity: Warning Message: Trying to access array offset on value of type int Filename: redlabel/checkout.php Line Number: 6

akm1967 commented 3 years ago

CheckoutPageError

kirilkirkov commented 3 years ago

@akm1967 Try to update you code with last commit - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/8728ff29d65f3332da8fd1015aa735d94a4d1281

akm1967 commented 3 years ago

ShoppigCart blog

kirilkirkov commented 3 years ago

@akm1967 I can not reproduce the error in /blog page. Open index.php file in your main directory of the project and change ENVIRONMENT constant to "production"

akm1967 commented 3 years ago

Thanks it worked

srkritfirm commented 4 months ago

That's my problem

A PHP Error was encountered Severity: 8192

Message: Required parameter $slug follows optional parameter $limit

Filename: models/Genre_model.php

Line Number: 128