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 3758488
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:10:11+00:00 2026-05-19T10:10:11+00:00

i just installed Classified Ad but after the installation i get this error: Notice:

  • 0

i just installed Classified Ad but after the installation i get this error:

  • Notice: Undefined index: type in
    ed_classified_form_alter() (line 218
    of
    /home3/amineamm/public_html/chrini/sites/all/modules/ed_classified/ed_classified.module).

When i look up at the php code i can’t figure out how to correct it. Here is my code:

  function ed_classified_form_alter(&$form, $form_state, $form_id) {
    module_load_include('inc', 'ed_classified', 'ed_classified_utils');

    if ($form['type']['#value'] == EDI_CLASSIFIED_MODULE_NAME) { //LINE 218
      if ($form_id == 'ed_classified_node_form' && $form['attachments'] && _ed_classified_variable_get('alter_attachment_text', EDI_CLASSIFIED_VAR_DEF_ALTER_ATTACHMENT_TEXT) ) {
        // Don't allow the attachments block to be collapsed.
        $form['attachments']['#collapsed']=FALSE;
        $form['attachments']['#collapsible']=FALSE;
        // Enhance the help for classified ads.
        // NOTE: this is appropriate for the upload_image module enhancements only!
        $form['attachments']['#title']=t('Photo Attachments');
        $form['attachments']['#description']= _ed_classified_variable_get('alter_attachment_text_description', t(EDI_CLASSIFIED_VAR_DEF_ALTER_ATTACHMENT_TEXT_DESCRIPTION));
      }
    }
  } 

Any suggestion ?

  • 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-19T10:10:12+00:00Added an answer on May 19, 2026 at 10:10 am

    From the tags and the error I’m guessing you’re trying to use Drupal 7. Problem is, like many contributed modules right now, the Classified Ads module only supports Drupal 6. Notice on the drupal.org project page there’s no 7.x version listed, only 5.x and 6.x.

    Try a Drupal 6 instance and I bet you’ll find it works a charm.

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

Sidebar

Related Questions

Just installed POI 3.8 jars and changing over code...I get this error: public static
Just installed Django (with easy_install) and created a project, but can't get mysql to
Just installed a clean version of mongodb on Fedora 17 64-bit, but the Mongo
Just installed Python 2.7.3 on a Windows7 machine. How do I get .py files
Just installed the SDK and ADK. while updating, it gives the following error: unexpected
I just installed python2.6 parallel to my python2.4. I ran this command ln -s
I just installed Graphite & statsd to get some statistics for my web-application. It
just installed new ubuntu vm to test around with node installed things in this
I just installed cygwin and eclipse on my win7 x64 machine, and after importing
I just installed VCSCommand and I'm getting an error of No suitable plugin whenever

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.