[solved] LSCACHE - WP Plugin and Image Push XF Errors

sip

Well-Known Member
#1
in Xenforo admin console there are few Errors logged. Latest version plugin, though these errors were there even before that also.
Here is one

Code:
ErrorException: [E_NOTICE] Undefined index: https://us4.wp.api.litespeedtech.com
 /readacted/wp-content/plugins/litespeed-cache/inc/img_optm.class.php:1117
Stack trace
Code:
#0 /readacted/wp-content/plugins/litespeed-cache/inc/img_optm.class.php(1117): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/dlifein1/...', 1117, Array)
#1 /readacted/wp-content/plugins/litespeed-cache/inc/img_optm.class.php(932): LiteSpeed_Cache_Img_Optm->_pull_optimized_img()
#2 /readacted/wp-includes/class-wp-hook.php(286): LiteSpeed_Cache_Img_Optm::cron_pull_optimized_img()
#3 /readacted/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#4 /readacted/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#5 /readacted/wp-cron.php(126): do_action_ref_array('litespeed_imgop...', Array)
#6 {main}
Request state
Code:
array(4) {
  ["url"] => string(60) "/wp-cron.php?doing_wp_cron=1535484950.1396799087524414062500"
  ["referrer"] => string(80) "https://domain.tld/wp-cron.php?doing_wp_cron=1535484950.1396799087524414062500"
  ["_GET"] => array(1) {
   ["doing_wp_cron"] => string(33) "1535484950.1396799087524414062500"
  }
  ["_POST"] => array(0) {
  }
}
There are few such errors reported in XF admin

router.class.php:77 is another.
 

sip

Well-Known Member
#3
Thanks. So this would be available in next upgrade of the add on.
I am sure even errors on

ErrorException: [E_NOTICE] Undefined index: HTTP_REFERER
/wp-content/plugins/litespeed-cache/inc/router.class.php:77
is also fixed.
 

sip

Well-Known Member
#4
One more

ErrorException: [E_NOTICE] Undefined index: HTTP_REFERER
/home/dlifein1/public_html/wp-content/plugins/litespeed-cache/inc/router.class.php:77
Generated by: jake
Aug 30, 2018 at 7:24 PM

Stack trace
Code:
#0 /home/dlifein1/public_html/wp-content/plugins/litespeed-cache/inc/router.class.php(77): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/dlifein1/...', 77, Array)
#1 /home/dlifein1/public_html/wp-content/plugins/litespeed-cache/inc/router.class.php(97): LiteSpeed_Cache_Router::from_admin()
#2 /home/dlifein1/public_html/wp-content/plugins/litespeed-cache/inc/cdn.class.php(43): LiteSpeed_Cache_Router::can_cdn()
#3 /home/dlifein1/public_html/wp-content/plugins/litespeed-cache/inc/cdn.class.php(601): LiteSpeed_Cache_CDN->__construct()
#4 /home/dlifein1/public_html/wp-content/plugins/litespeed-cache/inc/litespeed-cache.class.php(202): LiteSpeed_Cache_CDN::get_instance()
#5 /home/dlifein1/public_html/wp-includes/class-wp-hook.php(286): LiteSpeed_Cache->init('')
#6 /home/dlifein1/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#7 /home/dlifein1/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#8 /home/dlifein1/public_html/wp-settings.php(434): do_action('after_setup_the...')
#9 /home/dlifein1/public_html/wp-config.php(92): require_once('/home/dlifein1/...')
#10 /home/dlifein1/public_html/wp-load.php(37): require_once('/home/dlifein1/...')
#11 /home/dlifein1/public_html/wp-admin/admin.php(31): require_once('/home/dlifein1/...')
#12 /home/dlifein1/public_html/wp-admin/index.php(10): require_once('/home/dlifein1/...')
#13 {main}
Request state
Code:
array(4) {
  ["url"] => string(10) "/wp-admin/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top