Closed (fixed)
Project:
Inline
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2008 at 11:06 UTC
Updated:
31 Aug 2008 at 15:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
lacitpo commentedgetting the same thing. seems to only appear on the first story showing an inline image on the main page. images are shown fine without error when viewing individual articles and inline images in subsiquent articles on the main page seem to show fine. seems the error only appears in the first post with an inline image and upon refreshing the error goes away but the image is not shown. On at least one occasion, after refreshing, a dead link to the name of the image was shown in place of where the image should be.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/.axle/emerin/boxing.callmetom.net/modules/inline/inline_upload.module on line 63.
* warning: Invalid argument supplied for foreach() in /home/.axle/emerin/boxing.callmetom.net/modules/inline/inline_upload.module on line 76.
Comment #2
sunThis would mean that the affected inline tag either contains
nid=0or does not contain thenidparameter at all. Could you please verify? If so, are the other inline tags different regarding the nid parameter? Is it possible that the affected inline tag was generated with Inline 1.x?Please note that attached patch fixes the error, but not the cause.
Comment #3
sun...and THANKS for testing 2.x! Your feedback is very valuable and appreciated!
Comment #4
lacitpo commentedI am using Inline 5.x-2.x-dev
The inline tag I'm using is
[inline_upload|file=2|title=teaser]I am unsure of the syntax to use the id parameter in the inline tags. could you expound on that a bit?
Comment #5
sunThis patch slipped in as part of #273489: Code clean-up.
The syntax for Inline Upload tags is described on the page that is linked in the filter tips below a textarea. Nevertheless, I've updated the documentation now and here's an example:
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.