Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7034357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:10:34+00:00 2026-05-28T01:10:34+00:00

Why would codeigniter show errors in application/logs such as ERROR – 2011-12-31 11:43:36 –>

  • 0

Why would codeigniter show errors in application/logs such as

ERROR - 2011-12-31 11:43:36 --> Severity: Warning  --> Invalid argument supplied for foreach() /var/www/example.com/htdocs/application/views/home/home_vw.php 53


ERROR - 2011-12-31 11:43:36 --> Severity: Notice  --> Undefined variable: questions /var/www/example.com/htdocs/application/views/home/home_vw.php 53

if the methods to which they point to work fine — and there are no error messages on screen?

My index.php is set at

error_reporting(E_ALL);

and config

$config['log_threshold'] = 1;

Any ideas about the reason for this behavior?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:10:35+00:00Added an answer on May 28, 2026 at 1:10 am

    The mentioned errors are Warning and Notice, these are not Fatal Error which prevents script from executing further. So you have probability that:

    1. Your page is redirecting to a different page so this error warnings disappear before getting printed.

    2. The warning is printed but you can’t see it, it can happen when it is printed within HTML comments or it is behind any div or so, try view-source to detect in that case.

    3. It can also happen when you suppress errors by using @ sign.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

why would this $trader_details = array_walk($trader_details, 'htmlspecialchars'); give this error? Severity: Warning Message: htmlspecialchars()
I would be creating a custom error handling routing for my webapp in codeigniter
I have codeigniter installed at the root directory, and would like to have a
I am developing a new project in CodeIgniter (CI), and would like to find
Is there a way to integrate CodeIgniter with phpBB3? I would like to use
Would it be possible to show an image in full screen mode using silverlight.
I'm trying to dynamically create a div to show error messages using jquery. I'm
I would like to add some PHP to my Codeigniter view, for, say, a
I am a newbie in CodeIgniter. And would like to know how am I
I am using PHP/codeigniter, and typically to loop over query results I would do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.