Skip to content

fix for sites that do not work that way: http://site.com#2

Closed
valdeir2000 wants to merge 3 commits intoopencart:masterfrom
valdeir2000:master
Closed

fix for sites that do not work that way: http://site.com#2
valdeir2000 wants to merge 3 commits intoopencart:masterfrom
valdeir2000:master

Conversation

@valdeir2000
Copy link
Copy Markdown
Contributor

fix for sites that do not work that way: http://site.com

By: Erickson Ivanowski

@opencart opencart closed this Jul 24, 2012
@dangkhoalink dangkhoalink mentioned this pull request Mar 12, 2014
danielkerr pushed a commit that referenced this pull request Oct 16, 2014
Merge OC current changes
savage4pro added a commit to savage4pro/opencart that referenced this pull request Feb 26, 2016
prhost added a commit to prhost/opencart that referenced this pull request Jul 20, 2016
@alaplap alaplap mentioned this pull request Aug 16, 2016
opencartbot added a commit to opencartbot/opencart that referenced this pull request Jan 21, 2025
Fix error:
Error: oc_validate_length(): Argument opencart#2 ($minimum) must be of type int, string given, called in C:\OpenServer3\domains\c41.loc\catalog\controller\checkout\register.php on line 395
opencartbot added a commit to opencartbot/opencart that referenced this pull request Jan 21, 2025
Fix error:
Error: oc_validate_length(): Argument opencart#2 ($minimum) must be of type int, string given, called in \catalog\controller\checkout\register.php on line 395
rahuloberai added a commit to rahuloberai/opencart that referenced this pull request Jan 23, 2025
Error: oc_validate_length(): Argument opencart#2 ($minimum) must be of type int, string given, called in catalog/controller/account/register.php on line 217
opencartbot added a commit that referenced this pull request Feb 23, 2025
Fix recursion issue when handling nested arrays.

Example of error (adding a new category):
Warning: Undefined array key "category_filter" in \system\helper\filter.php on line 17
Error: oc_filter_data(): Argument #2 ($data) must be of type array, null given, called in \system\helper\filter.php on line 17
File: \system\helper\filter.php Line: 9
Backtrace: 0 File: \system\helper\filter.php Line: 17 Function: oc_filter_data 
Backtrace: 1 File: \admin\controller\catalog\category.php Line: 450 Function: oc_filter_data 
Backtrace: 2 File: \system\engine\action.php Line: 96 Class: Opencart\Admin\Controller\Catalog\Category Function: save 
Backtrace: 3 File: \system\framework.php Line: 259 Class: Opencart\System\Engine\Action Function: execute 
Backtrace: 4 File: \admin\index.php Line: 20 Function: require_once
trydalcoholic added a commit to trydalcoholic/opencart that referenced this pull request Jun 29, 2025
- Use boolean value for hash_hmac binary parameter
- Change GDPR editStatus parameter from bool to int to match actual usage
- Status codes based on controller comments: 0=unverified, 1=pending, 2=processing, 3=complete/delete, -1=denied

Fixes PHPStan errors:
- Parameter opencart#4 $binary of function hash_hmac expects bool, int given
- Parameter opencart#2 $status of method editStatus() expects bool, int given

Signed-off-by: Anton Semenov <20430159+trydalcoholic@users.noreply.github.com>
@cgcmart cgcmart mentioned this pull request Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants