Opened 3 years ago

Closed 3 years ago

#539 closed defect (invalid)

Crash when uploading image to wporg

Reported by: koke Owned by: koke
Priority: major Milestone: 2.6.3
Component: Media Version:
Keywords: Cc:

Description

Notice: wp_upload_bits was called with an argument that is <strong>deprecated</strong> since version 2.0 with no alternative available. in /Users/koke/automattic/wordpress/wp-includes/functions.php on line 3378
<?xml version="1.0"?>
<methodResponse>

<fault>

<value>

<struct>

<member>

<name>faultCode</name>
<value><int>500</int></value>

</member>
<member>

<name>faultString</name>
<value><string>Could not write file 20101206-124404.jpg (This file is too big. Files must be less than 1500 KB in size.&lt;br /&gt;)</string></value>

</member>

</struct>

</value>

</fault>

</methodResponse>
2010-12-06 12:44:08.447 WordPress[909:307] Logging error (iPhone3,1|4.2.1): [<NSError 0x5aaa380> valueForUndefinedKey:]: this class is not key value coding-compliant for the key faultString.
(

0 CoreFoundation 0x33ac0987 exceptionPreprocess + 114
1 libobjc.A.dylib 0x3347b49d objc_exception_throw + 24
2 CoreFoundation 0x33ac0705 -[NSException dealloc] + 0
3 Foundation 0x3367dc4f -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 186
4 Foundation 0x336389e5 _NSGetUsingKeyValueGetter + 88
5 Foundation 0x33637e8f -[NSObject(NSKeyValueCoding) valueForKey:] + 190
6 WordPress 0x00080953 -[WPMediaUploader requestFinished:] + 670
7 CoreFoundation 0x33a5ebbf -[NSObject(NSObject) performSelector:withObject:] + 22
8 WordPress 0x000caa8f -[ASIHTTPRequest callSelectorCallback:withTarget:request:] + 118
9 CoreFoundation 0x33a6bd04
invoking_ + 68
10 CoreFoundation 0x33a6bbd5 -[NSInvocation invoke] + 108
11 CoreFoundation 0x33a5ebbf -[NSObject(NSObject) performSelector:withObject:] + 22
12 Foundation 0x33639795
NSThreadPerformPerform + 268
13 CoreFoundation 0x33a767dd CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 12
14 CoreFoundation 0x33a485b7 CFRunLoopDoSources0 + 382
15 CoreFoundation 0x33a47e5b
CFRunLoopRun + 230
16 CoreFoundation 0x33a47c87 CFRunLoopRunSpecific + 230
17 CoreFoundation 0x33a47b8f CFRunLoopRunInMode + 58
18 GraphicsServices 0x33b0e4ab GSEventRunModal + 114
19 GraphicsServices 0x33b0e557 GSEventRun + 62
20 UIKit 0x32099329 -[UIApplication _run] + 412
21 UIKit 0x32096e93 UIApplicationMain + 670
22 WordPress 0x00002f15 main + 80
23 WordPress 0x00002e8c start + 52

)

Change History (4)

comment:1 Changed 3 years ago by koke

Luanching the app after the crash, the image appear on the Media tab though it's not uploaded to wordpress.

Trying to add it to the post adds a "<br/><br/>"

comment:2 Changed 3 years ago by koke

  • Milestone set to 2.6.3

comment:3 Changed 3 years ago by koke

  • Owner changed from frsh to koke
  • Status changed from new to assigned

comment:4 Changed 3 years ago by koke

  • Resolution set to invalid
  • Status changed from assigned to closed

Same problem that #542. Not an iOS bug. When the notices are gone, an alert warns about upload limits.

Note: See TracTickets for help on using tickets.