HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/healthbenefitapproval/public_html/wp-content/plugins/wp-editor/classes/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;
  }
}