Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 758

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 758

Notice: require(): read of 3320 bytes failed with errno=12 Cannot allocate memory in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 23

Notice: require(): read of 3320 bytes failed with errno=12 Cannot allocate memory in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 23
`WP_Scripts`. * * @param mixed $handles Item handle and argument (string) or item handles and arguments (array of strings). */ public function enqueue( $handles ) { foreach ( (array) $handles as $handle ) { $handle = explode( '?', $handle ); if ( ! in_array( $handle[0], $this->queue ) && isset( $this->registered[ $handle[0] ] ) ) { $this->queue[] = $handle[0]; if ( isset( $handle[1] ) ) { $this->args[ $handle[0] ] = $handle[1]; } } } } /** * Dequeue an item or items. * * Decodes handles and arguments, then dequeues handles * and removes arguments from the class property $args. * * @since 2.1.0 * @since 2.6.0 Moved from `WP_Scripts`. * * @param mixed $handles Item handle and argument (string) or item handles and arguments (array of strings). */ public function dequeue( $handles ) { foreach ( (array) $handles as $handle ) { $handle = explode( '?', $handle ); $key = array_search( $handle[0], $this->queue ); if ( false !== $key ) { unset( $this->queue[ $key ] ); unset( $this->args[ $handle[0] ] ); } } } /** * Recursively search the passed dependency tree for $handle * * @since 4.0.0 * * @param string[] $queue An array of queued _WP_Dependency handles. * @param string $handle Name of the item. Should be unique. * @return bool Whether the handle is found after recursively searching the dependency tree. */ protected function recurse_deps( $queue, $handle ) { foreach ( $queue as $queued ) { if ( ! isset( $this->registered[ $queued ] ) ) { continue; } if ( in_array( $handle, $this->registered[ $queued ]->deps ) ) { return true; } elseif ( $this->recurse_deps( $this->registered[ $queued ]->deps, $handle ) ) { return true; } } return false; } /** * Query list for an item. * * @since 2.1.0 * @since 2.6.0 Moved from `WP_Scripts`. * * @param string $handle Name of the item. Should be unique. * @param string $list Property name of list array. * @return bool|_WP_Dependency Found, or object Item data. */ public function query( $handle, $list = 'registered' ) { switch ( $list ) { case 'registered': case 'scripts': // back compat if ( isset( $this->registered[ $handle ] ) ) { return $this->registered[ $handle ]; } return false; case 'enqueued': case 'queue': if ( in_array( $handle, $this->queue ) ) { return true; } return $this->recurse_deps( $this->queue, $handle ); case 'to_do': case 'to_print': // back compat return in_array( $handle, $this->to_do ); case 'done': case 'printed': // back compat return in_array( $handle, $this->done ); } return false; } /** * Set item group, unless already in a lower group. * * @since 2.8.0 * * @param string $handle Name of the item. Should be unique. * @param bool $recursion Internal flag that calling function was called recursively. * @param mixed $group Group level. * @return bool Not already in the group or a lower group */ public function set_group( $handle, $recursion, $group ) { $group = (int) $group; if ( isset( $this->groups[ $handle ] ) && $this->groups[ $handle ] <= $group ) { return false; } $this->groups[ $handle ] = $group; return true; } }
Fatal error: Uncaught Error: Class 'WP_Dependencies' not found in /var/www/html/ticnews.com.br/web/wp-includes/class.wp-scripts.php:18 Stack trace: #0 /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php(26): require() #1 /var/www/html/ticnews.com.br/web/wp-settings.php(204): require('/var/www/html/t...') #2 /var/www/html/ticnews.com.br/web/wp-config.php(83): require_once('/var/www/html/t...') #3 /var/www/html/ticnews.com.br/web/wp-load.php(37): require_once('/var/www/html/t...') #4 /var/www/html/ticnews.com.br/web/wp-blog-header.php(13): require_once('/var/www/html/t...') #5 /var/www/html/ticnews.com.br/web/index.php(17): require('/var/www/html/t...') #6 {main} thrown in /var/www/html/ticnews.com.br/web/wp-includes/class.wp-scripts.php on line 18