Title: Transcoder errors In php 8
Last modified: May 2, 2021

---

# Transcoder errors In php 8

 *  Resolved [Charla](https://wordpress.org/support/users/webgirl/)
 * (@webgirl)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/transcoder-errors-in-php-8/)
 *     ```
       Uncaught Error: Undefined constant "INPUT_REQUEST" in /wp-content/plugins/transcoder/inc/helpers/custom-functions.php:32 Stack trace: #0
   
       /wp-content/plugins/transcoder/admin/rt-transcoder-handler.php(1117): transcoder_filter_input() #1
   
       /wp-includes/class-wp-hook.php(292): RT_Transcoder_Handler->handle_callback() #2
   
       #9 {main} thrown in /wp-content/plugins/transcoder/inc/helpers/custom-functions.php on line 32
       ```
   

Viewing 1 replies (of 1 total)

 *  [Ankit Gade](https://wordpress.org/support/users/wpgurudev/)
 * (@wpgurudev)
 * [5 years ago](https://wordpress.org/support/topic/transcoder-errors-in-php-8/#post-14487098)
 * Thanks for reporting the issue.
 * This issue is happening because `INPUT_REQUEST` constant has been removed permanently
   in PHP 8.0 and higher versions.
 * Reference: [https://bugs.php.net/bug.php?id=54672](https://bugs.php.net/bug.php?id=54672)
 * I’ve reported this issue to team and we will release the new version with the
   fix.
 * Meanwhile, as a workaround, you can remove following code from `/inc/helpers/
   custom-functions.php`
 *     ```
       if ( INPUT_REQUEST === $type ) {
       		if ( isset( $_POST[ $variable_name ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
       			$type = INPUT_POST;
       		} elseif ( isset( $_GET[ $variable_name ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
       			$type = INPUT_GET;
       		} else {
       			return null;
       		}
       	}
       ```
   
 * from `transcoder_filter_input` function.

Viewing 1 replies (of 1 total)

The topic ‘Transcoder errors In php 8’ is closed to new replies.

 * ![](https://ps.w.org/transcoder/assets/icon-256x256.jpg?rev=3276537)
 * [Transcoder](https://wordpress.org/plugins/transcoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/transcoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/transcoder/)
 * [Active Topics](https://wordpress.org/support/plugin/transcoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/transcoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/transcoder/reviews/)

## Tags

 * [php 8](https://wordpress.org/support/topic-tag/php-8/)
 * [uncaught error](https://wordpress.org/support/topic-tag/uncaught-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ankit Gade](https://wordpress.org/support/users/wpgurudev/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/transcoder-errors-in-php-8/#post-14487098)
 * Status: resolved