Webmastersite.net
Register Log In

Secondary categories causing error

Comments on Secondary categories causing error

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Secondary categories causing error
Posted Apr 10, 2012 - 12:38 PM:

When I submit listing to a secondary category, or edit listings that are in two categories I get this error...

Error #2: 'urlencode() expects parameter 1 to be string, array given' in /var/www/html/includes/commonfuncs.php on line 6447.Error occurred at www.websitename.co.uk/edit....isablehtml=0&disableline=0 on 2012-04-10 17:36:00.
Step 1 of backtrace:
File: /var/www/html/includes/commonfuncs.php
Line: 6447
Function: urlencode
Arguments: array


Step 2 of backtrace:
File: /var/www/html/end.php
Line: 853
Function: currentlinkableurl
Arguments:


Step 3 of backtrace:
File: /var/www/html/edit.php
Line: 220
Function: require
Arguments: /var/www/html/end.php



The referring URL was www.websitename.co.uk/edit....dit.php?action=link&id=112.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 10, 2012 - 11:32 PM:

I can't reproduce the problem, no errors when I submit with a secondary category. The error you posted appears to be happening during the process of generating a different error for display, I don't think currentlinkableurl is used anywhere else. Fixed this currentlinkableurl bug though.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.