Jump to content

Bug in converter (?)


DawPi
Go to solution Solved by Marc,

Recommended Posts

Hello,

error:

Undefined array key 0

Full track:

#0 \applications\convert\sources\Software\Core\Invisioncommunity.php(692): Whoops\Run->handleError(2, 'Undefined array...', 'C:\\wamp\\www\\45\\...', 692)
#1 \applications\convert\sources\Library.php(285): IPS\convert\Software\Core\_Invisioncommunity->convertMembers()
#2 \applications\convert\modules\admin\manage\convert.php(559): IPS\convert\_Library->process(NULL, 'convertMembers', 100)
#3 \system\Helpers\MultipleRedirect\MultipleRedirect.php(93): IPS\convert\modules\admin\manage\_convert->IPS\convert\modules\admin\manage\{closure}(NULL)
#4 \applications\convert\modules\admin\manage\convert.php(579): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url\Internal), Object(Closure), Object(Closure))
#5 \system\Dispatcher\Controller.php(107): IPS\convert\modules\admin\manage\_convert->runStep()
#6 \applications\convert\modules\admin\manage\convert.php(45): IPS\Dispatcher\_Controller->execute()
#7 \system\Dispatcher\Dispatcher.php(153): IPS\convert\modules\admin\manage\_convert->execute()
#8 \admin\index.php(13): IPS\_Dispatcher->run()
#9 {main}

I've fixed it by changing that line:

$libraryClass->convertMember( $row, $profileFields, $profilePhotoName, $path . ( isset( $bits ) ? $bits[0] : '' ), NULL, $coverPhotoName, $path . ( isset( $coverBits[0] ) ? $coverBits[0] : '' ) );

Into:

$libraryClass->convertMember( $row, $profileFields, $profilePhotoName, $path . ( isset( $bits[0] ) ? $bits[0] : '' ), NULL, $coverPhotoName, $path . ( isset( $coverBits[0] ) ? $coverBits[0] : '' ) );

 

I'm not sure if it's enough or not, but I want to report it anyway.

Link to comment
Share on other sites

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Link to comment
Share on other sites

  • 2 months later...

I've done it few months ago. I hope you didn't expected that I'll wait so long for it. 😉

Maybe for someone else will be useful.

Hm, are you sure that was done in .12?

 

Could contain: Chart, Plot

Hm, yeah, .10 -> .12 exists:

Could contain: Chart, Plot, Measurements, Text

 

So it was fixed in .11

Edited by DawPi
Link to comment
Share on other sites

33 minutes ago, DawPi said:

I've done it few months ago. I hope you didn't expected that I'll wait so long for it. 😉

Maybe for someone else will be useful.

Hm, are you sure that was done in .12?

 

Could contain: Chart, Plot

Hm, yeah, .10 -> .12 exists:

Could contain: Chart, Plot, Measurements, Text

 

So it was fixed in .11

Either way, its fixed 😄 lol

 

No, I wouldnt expect you to wait that long, however its more so other people are aware

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...