HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Validating Error

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#86460 (In Topic #17677)
Avatar

Well-settled

On our site I have it tells me I have 3 non validated submissions.
If I click on any of them to see them I get the below error.

An error has occurred

PHP NOTICE [8] Undefined offset: 0 in sources/hooks/systems/profiles_tabs_edit/privacy.php on line 118 (version: 8.1, PHP version: 5.2.17, URL: /site/members/view/tineke-richardson.htm?validated=1)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Home Education Tasmania website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/homeed/public_html/sources/failure.php'
Line '684'
Function 'get_html_trace'
Args  

File '/home/homeed/public_html/sources/global2.php'
Line '979'
Function '_fatal_exit'
Args

'PHP NOTICE [8] Undefined offset: 0 in sources/hooks/systems/profiles_tabs_edit/privacy.php on line 118'


File '/home/homeed/public_html/sources/failure.php'
Line '217'
Function 'fatal_exit'
Args

'PHP NOTICE [8] Undefined offset: 0 in sources/hooks/systems/profiles_tabs_edit/privacy.php on line 118'


File '/home/homeed/public_html/sources/global2.php'
Line '853'
Function '_ocportal_error_handler'
Args

'notice'

8

'Undefined offset: 0'

'sources/hooks/systems/profiles_tabs_edit/privacy.php'

118


File '/home/homeed/public_html/sources/hooks/systems/profiles_tabs_edit/privacy.php'
Line '118'
Function 'ocportal_error_handler'
Args

8

'Undefined offset: 0'

'/home/homeed/public_html/sources/hooks/systems/profiles_tabs_edit/privacy.php'

118

array


File '/home/homeed/public_html/sources/hooks/systems/profiles_tabs/edit.php'
Line '74'
Function 'render_tab'
Class 'Hook_Profiles_Tabs_Edit_privacy'
Type '->'
Object Hook_Profiles_Tabs_Edit_privacy::__set_state(array( ))
Args

229

3


File '/home/homeed/public_html/sources/ocf_profiles.php'
Line '49'
Function 'render_tab'
Class 'Hook_Profiles_Tabs_edit'
Type '->'
Object Hook_Profiles_Tabs_edit::__set_state(array( ))
Args

229

3


File '/home/homeed/public_html/site/pages/modules/members.php'
Line '267'
Function 'render_profile_tabset'
Args

229

3

'Tineke Richardson'


File '/home/homeed/public_html/site/pages/modules/members.php'
Line '102'
Function 'profile'
Class 'Module_members'
Type '->'
Object Module_members::__set_state(array( ))
Args  

File '/home/homeed/public_html/sources/zones.php'
Line '424'
Function 'run'
Class 'Module_members'
Type '->'
Object Module_members::__set_state(array( ))
Args  

File '/home/homeed/public_html/sources/site.php'
Line '1,019'
Function 'load_module_page'
Args

'site/pages/modules/members.php'

'members'


File '/home/homeed/public_html/sources/site.php'
Line '787'
Function 'request_page'
Args

'members'

true


File '/home/homeed/public_html/site/index.php'
Line '51'
Function 'do_site'


How can I ether validate them or fix the issue. Is this error due to them being there since couple upgrades prior or something.?

Slav
Back to the top
 
Important!
Posted
Rating:
#86825
Avatar

Automated fix message

Golab said

On our site I have it tells me I have 3 non validated submissions.
If I click on any of them to see them I get the below error.

An error has occurred

PHP NOTICE [8] Undefined offset: 0 in sources/hooks/systems/profiles_tabs_edit/privacy.php on line 118 (version: 8.1, PHP version: 5.2.17, URL: /site/members/view/tineke-richardson.htm?validated=1)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Home Education Tasmania website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/homeed/public_html/sources/failure.php'
Line '684'
Function 'get_html_trace'
Args  

File '/home/homeed/public_html/sources/global2.php'
Line '979'
Function '_fatal_exit'
Args

'PHP NOTICE [8] Undefined offset: 0 in sources/hooks/systems/profiles_tabs_edit/privacy.php on line 118'


File '/home/homeed/public_html/sources/failure.php'
Line '217'
Function 'fatal_exit'
Args

'PHP NOTICE [8] Undefined offset: 0 in sources/hooks/systems/profiles_tabs_edit/privacy.php on line 118'


File '/home/homeed/public_html/sources/global2.php'
Line '853'
Function '_ocportal_error_handler'
Args

'notice'

8

'Undefined offset: 0'

'sources/hooks/systems/profiles_tabs_edit/privacy.php'

118


File '/home/homeed/public_html/sources/hooks/systems/profiles_tabs_edit/privacy.php'
Line '118'
Function 'ocportal_error_handler'
Args

8

'Undefined offset: 0'

'/home/homeed/public_html/sources/hooks/systems/profiles_tabs_edit/privacy.php'

118

array


File '/home/homeed/public_html/sources/hooks/systems/profiles_tabs/edit.php'
Line '74'
Function 'render_tab'
Class 'Hook_Profiles_Tabs_Edit_privacy'
Type '->'
Object Hook_Profiles_Tabs_Edit_privacy::__set_state(array( ))
Args

229

3


File '/home/homeed/public_html/sources/ocf_profiles.php'
Line '49'
Function 'render_tab'
Class 'Hook_Profiles_Tabs_edit'
Type '->'
Object Hook_Profiles_Tabs_edit::__set_state(array( ))
Args

229

3


File '/home/homeed/public_html/site/pages/modules/members.php'
Line '267'
Function 'render_profile_tabset'
Args

229

3

'Tineke Richardson'


File '/home/homeed/public_html/site/pages/modules/members.php'
Line '102'
Function 'profile'
Class 'Module_members'
Type '->'
Object Module_members::__set_state(array( ))
Args  

File '/home/homeed/public_html/sources/zones.php'
Line '424'
Function 'run'
Class 'Module_members'
Type '->'
Object Module_members::__set_state(array( ))
Args  

File '/home/homeed/public_html/sources/site.php'
Line '1,019'
Function 'load_module_page'
Args

'site/pages/modules/members.php'

'members'


File '/home/homeed/public_html/sources/site.php'
Line '787'
Function 'request_page'
Args

'members'

true


File '/home/homeed/public_html/site/index.php'
Line '51'
Function 'do_site'


How can I ether validate them or fix the issue. Is this error due to them being there since couple upgrades prior or something.?

Slav
This issue has been filed on the tracker as issue #570, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
Posted
Rating:
#86985
Avatar

Well-settled

Thanks that has fixed it :)
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: