Error with Wordpress Plugin w3-total-cache

Discussion about the open-source Phalanger [?] project.

Error with Wordpress Plugin w3-total-cache

Postby jafin » June 29th, 2012, 10:28 pm

Im on wordpress 3.4.1 attempting to install the w3-total-cache plugin. I'm using June 2012 Phalanger.

When I activate the plugin I get the following error:

Specified argument was out of the range of valid values.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

Code: Select all
Source Error:


Line 589:        }
Line 590:
Line 591:        return @file_put_contents($path, $data);
Line 592:    }
Line 593:


Source File: d:\Inetpub\wwwroot\wordpress\wordpress\wp-content\plugins\w3-total-cache\lib\W3\Plugin\BrowserCacheAdmin.php    Line: 591

Stack Trace:


[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.]
   System.String.IndexOfAny(Char[] anyOf, Int32 startIndex, Int32 count) +0
   PHP.Core.QualifiedName.SubstringWithoutBackquoteAndHash(String fullName, Int32 start, Int32 length) +44
   PHP.Core.ReflectionUtils.ParseTypeId(String realTypeFullName, Int32& transientId, String& sourceFile, String& typeName) +211
   PHP.Core.Reflection.TransientModule.GetEvalId(ApplicationContext applicationContext, MethodBase method) +160
   PHP.Core.PhpStackTrace.TraceErrorFrame(ScriptContext context) +203
   PHP.Core.PhpException.Throw(PhpError error, String message) +263
   PHP.Core.FileStreamWrapper.Open(String& path, String mode, StreamOpenOptions options, StreamContext context) +320
   PHP.Core.PhpStream.Open(String path, String mode, StreamOpenOptions options, StreamContext context) +73
   PHP.Library.PhpFile.WriteContents(String path, Object data, WriteContentsOptions flags, PhpResource context) +131



Any clues?
I'll see if I can gather some more info on what the parameter values are.

value for $path was '' (blank)

If this fails should it just return false rather than throwing the exception? (http://au2.php.net/manual/en/function.f ... ntents.php)


Edit: Getting same error for @unlink with a file that does not exist.
jafin
 
Posts: 5
Joined: January 21st, 2012, 3:05 pm

Re: Error with Wordpress Plugin w3-total-cache

Postby Jakub Misek » June 30th, 2012, 9:47 am

Thank you for reporting this issue!

Actually it crashes when trying to report a warning. Will be fixed.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Error with Wordpress Plugin w3-total-cache

Postby ftownes » August 6th, 2012, 2:08 pm

Sorry for the trouble, this bug is fixed in upcomming release.
ftownes
 
Posts: 1
Joined: August 6th, 2012, 2:07 pm

Re: Error with Wordpress Plugin w3-total-cache

Postby Jakub Misek » August 6th, 2012, 2:59 pm

ftownes wrote:Sorry for the trouble, this bug is fixed in upcomming release.

Thanks for trying the release, and confirming the fix.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 7 guests

cron

User Control Panel

Login

Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 7 guests