Uname: Linux premium72.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.2.29 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.125.95
Your Ip: 216.73.216.112
User: matican (532) | Group: matican (531)
Safe Mode: OFF
Disable Function:
NONE

name : WPEditorException.php
<?php
/**
 * Exception error codes
 * 701 - Could not create Log File
 */ 
class WPEditorException extends Exception {
  
  public static function exceptionMessages( $errorCode, $errorMessage, $reasons=null ) {
    $exception = array(
      'errorCode' => $errorCode,
      'errorMessage' => $errorMessage
    );
    switch ( $errorCode ) {
      case 701;
        $exception['exception'] = __( 'WPEditor was unable to create the log file.  It looks like file permissions are not currently enabled on your site.', 'wpeditor' );
        break;
      default;
        $exception['exception'] = __( "Unfortunately there has been an error with the WPEditor Plugin.  Please contact the site Administrator for more information.<br />Error Code: $errorCode $errorMessage", 'wpeditor' );
        break;
    }
    return $exception;
  }
}
© 2025 XylotrechusZ