Hello, thanks for this module!

I have been testing the latest release and on first creating a link (saving the page) an error comes back:

Strict warning: Creating default object from empty value in _gotwo_get() (line 381 of U:\xampp\htdocs\sites\all\modules\gotwo\gotwo.module)

I am using a simple test link as: An example

It doesn't seem to cause any problems generally, and is just a first time error on each node creation.

Running PHP 5.3.3 if any help.

Cheers!
Tim

Comments

hass’s picture

Status: Active » Fixed

Committed http://drupalcode.org/project/gotwo.git/commit/0080be8 without testing.

Can you try this and report back, please?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Tim Jones Toronto’s picture

Status: Closed (fixed) » Active

Sorry for delay. Tested it and still get error:

Strict warning: Creating default object from empty value in _gotwo_get() (line 383 of C:\xampp\htdocs\sites\all\modules\gotwo-0080be8\gotwo.module).

hass’s picture

Ok, I see why. Will fix this later :-(

kaztur’s picture

Issue summary: View changes

+1
GoTwo 7.x-1.1 version
PHP 5.5.9 version
Warning: Creating default object from empty value in _gotwo_get() (line 369 in /sites/all/modules/gotwo/gotwo.module).

Richard Petersen’s picture

+1

Warning Message:

Warning: Creating default object from empty value in _gotwo_get() (line 381 of /var/www/html/drupal/sites/all/modules/gotwo/gotwo.module).

I'm running version 7.x-1.1, on php 5.5.9

  • hass committed 8157b97 on 7.x-1.x
    Issue #1150786 by hass: fix strict warning
    
hass’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.