ErrorException Warning: Undefined variable $network
-
Sentry error:
ErrorException
Warning: Undefined variable $network
Events
Users
Level: Warning
Unhandled
|
New
|
/wp-content/plugins/ewww-image-optimizer/common.php in ewww_image_optimizer_intro_wizard
1
1Resolve
Archive
Priority
Med
AssigneeAll Envs
14D
Filter events…Event
1User
1
100%
https://pericialmed.com/wp-admin/options-general.php
100%
1
100%
3.5.1
100%
production
All TagsEvents
in this issueFirst
Last
Recommended
All Eventsfdd5d3e0
17 hours ago
|
JSON
Jump to:
Highlights
Stack Trace
Replay
Trace
Tags
Context
[email protected]
proteusbrWindows
Linux
6.8.0-49-genericphp
8.3.16
3.5.1
productionEdit
handled
handled
no
level
level
warning
url
url
https://pericialmed.com/wp-admin/options-general.php
Trace: Trace ID
5ed1c8830aed495aa874663381ee22d0Newest
ErrorException
Warning: Undefined variable $network
mechanism
generic
handled
false
code
0
/wp-content/plugins/ewww-image-optimizer/common.php in ewww_image_optimizer_intro_wizard at line 12303Set up Code Mapping
In App<p> <?php printf( /* translators: %s: Bulk Optimize (link) */ esc_html__( 'New uploads will be optimized automatically. Optimize existing images with the %s.', 'ewww-image-optimizer' ), ( 'network-multisite' === esc_attr( $network ) ? esc_html__( 'Media Library', 'ewww-image-optimizer' ) . ' -> ' . esc_html__( 'Bulk Optimizer', 'ewww-image-optimizer' ) : '<a href="' . esc_url( $bulk_link ) . '">' . esc_html__( 'Bulk Optimizer', 'ewww-image-optimizer' ) . '</a>' ) ); ewwwio_help_link( 'https://docs.ewww.io/article/4-getting-started', '5853713bc697912ffd6c0b98' );/wp-content/plugins/ewww-image-optimizer/common.php in ewww_image_optimizer_options at line 12685
Set up Code Mapping
In App$network = 'network-multisite-over'; } elseif ( 'network-singlesite' === $network && get_site_option( 'ewww_image_optimizer_allow_multisite_override' ) ) { $network = 'singlesite'; } if ( 'singlesite' === $network && ! ewww_image_optimizer_get_option( 'ewww_image_optimizer_wizard_complete' ) ) { ewww_image_optimizer_intro_wizard(); return; } if ( ! empty( $_GET['rescue_mode'] ) && ! empty( $_REQUEST['_wpnonce'] ) && wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'ewww_image_optimizer_options-options' ) ) { ewww_image_optimizer_rescue_mode(); return;/wp-includes/class-wp-hook.php in WP_Hook::apply_filters at line 324
Hide 4 more frames
// Avoid the array_slice() if possible. if ( 0 === $the_['accepted_args'] ) { $value = call_user_func( $the_['function'] ); } elseif ( $the_['accepted_args'] >= $num_args ) { $value = call_user_func_array( $the_['function'], $args ); } else { $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) ); } } } while ( false !== next( $this->iterations[ $nesting_level ] ) );/wp-includes/class-wp-hook.php in WP_Hook::do_action at line 348
* * @param array $args Parameters to pass to the callback functions. */ public function do_action( $args ) { $this->doing_action = true; $this->apply_filters( '', $args ); // If there are recursive calls to the current action, we haven't finished it until we get to the last one. if ( ! $this->nesting_level ) { $this->doing_action = false; }/wp-includes/plugin.php in do_action at line 517
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) { // Backward compatibility for PHP4-style passing ofarray( &$this )as action$arg. $arg[0] = $arg[0][0]; } $wp_filter[ $hook_name ]->do_action( $arg ); array_pop( $wp_current_filter );}
/**
/wp-admin/admin.php in require_once at line 259* * @see get_plugin_page_hook() * * @since 1.5.0 */ do_action( $page_hook ); } else { if ( validate_file( $plugin_page ) ) { wp_die( __( 'Invalid plugin page.' ) ); }param0
/var/www/pericialmed.com/htdocs/wp-admin/admin.php
/wp-admin/options-general.php at line 10- @package WordPress
- @subpackage Administration
/ /* WordPress Administration Bootstrap / require_once DIR . ‘/admin.php’; /* WordPress Translation Installation API */
require_once ABSPATH . ‘wp-admin/includes/translation-install.php’;
if ( ! current_user_can( ‘manage_options’ ) ) {
Set up your PHP app with Session Replay
Watch the errors and latency issues your users face
Set Up Now
View Full Trace
0.00ms0.00ms0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s0s1
Trace
—
5ed1c8830aed495aa874663381ee22d0
0msWarning
—
Warning: Undefined variable $network ErrorException /wp-content/plugins/ewww-image-optimizer/common.php ewww_image_optimizer_intro_wizard /wp-content/plugins/ewww-image-optimizer/common.php in ewww_image_optimizer_intro_wizard
View All Issue Tagsbrowser
browser
Brave 132
browser.name
name
Brave
client_os
client_os.name
name
Windows
environment
environment
production
handled
handled
no
language
language
pt-BR
level
level
warning
mechanism
mechanism
generic
os
os
Linux 6.8.0-49-generic
os.name
name
Linux
release
release
3.5.1
runtime
runtime
php 8.3.16
runtime.name
name
php
server_name
server_name
s143839
url
url
https://pericialmed.com/wp-admin/options-general.php
user
user
id:1
wordpress
wordpress
6.7.1
User
Email
Geography
Philadelphia, United States (US)
ID
1
IP Address
2601:47:4002:ab40:e439:92f8:3bd0:58b1
Name
Dr. Mário Junqueira
Username
proteusbr
Browser
Name
Brave
Version
132
Operating SystemName
Windows
Operating SystemBuild 49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 4 02:06:24 UTC 2024
Kernel Version
Linux s143839 6.8.0-49-generic #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 4 02:06:24 UTC 2024 x86_64
Name
Linux
Version
6.8.0-49-generic
RuntimeName
php
sapi
fpm-fcgi
Version
8.3.16
Trace Details
Span ID
d5e2bc7cb3214b5a
Status
unknown
Trace ID
5ed1c8830aed495aa874663381ee22d0
Grouped by: exception stack-trace, in-app exception stack-traceGive Feedback
By Exception Stack-traceHash
6ab263b62fb16c37e0fe5a3252be65a3
Type
component
Grouping
system
exception
stack-trace
frame
filenamecommon.php
functionewww_image_optimizer_intro_wizard
context-line( ‘network-multisite’ === esc_attr( $network ) ?
frame
filenamecommon.php
functionewww_image_optimizer_options
context-lineewww_image_optimizer_intro_wizard();show 4 similar
frame
filenameoptions-general.php
context-linerequire_once DIR . ‘/admin.php’;
typeErrorException
By In-app Exception Stack-traceHash
Type
component
Grouping
in-app
exception
stack-trace
frame
filenamecommon.php
functionewww_image_optimizer_intro_wizard
context-line( ‘network-multisite’ === esc_attr( $network ) ?
frame
filenamecommon.php
functionewww_image_optimizer_options
context-lineewww_image_optimizer_intro_wizard();
typeErrorException
The topic ‘ErrorException Warning: Undefined variable $network’ is closed to new replies.