Email
Share

We Rock Your Web Forum » Content Management Systems » Drupal

Fatal error: Cannot access empty property in adserve.inc on line 133

(2 posts)
  1. andy

    member
    Joined: Aug '09
    Posts: 15

    I just installed the latest stable version of the "ad" module, and I keep getting the error "Fatal error: Cannot access empty property in /home/werock/public_html/modules/ad/adserve.inc on line 133" every time I try and flush the cache on my site.

    Any ideas?

    Posted 2 months ago #

  2. Posted 2 months ago
  3. Anonymous



    In /modules/ad/adserve.inc, have lines 130-145 read:

    if (!$overridden) {
        if (isset($conf)) {
          foreach ($conf as $var => $val) {
    if (!empty($var)) {
                    $variables->$var = $val;
                    if ($variables->debug) {
                        echo "Override $var: '$val'<br />\n";
                    }
                 }
            if ($variables->debug) {
              echo "Override $var: '$val'<br />\n";
            }
          }
          $overridden = TRUE;
        }
      }
    Posted 2 months ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.