We’re searching for a plugin that can trace the location of our form sender based on their IP Address.
I tried it on the Contact 7 form but it just only shows the IP Address in the email notification. Maybe City and Country would work for us.
Thank you
]]>Is it possible to create a shortcode or tag so we can add that to the template?
]]>Every day, the website will email me this once, the code works and I can’t figure out what the “trigger” is, the line it complains about looks fine to me, I can’t understand what it’s trying to say!
Any help would be appreciated:
Error Details
=============
An error of type E_ERROR was caused in line 48 of the file /wp-content/plugins/side-cart-woocommerce/public/class-xoo-wsc-cart-data.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /wp-content/plugins/side-cart-woocommerce/public/class-xoo-wsc-cart-data.php:48
Stack trace:
#0 /wp-includes/class-wp-hook.php(286): xoo_wsc_Cart_Data->get_cart_content('')
#1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /wp-content/plugins/side-cart-woocommerce/public/partials/xoo-wsc-markup.php(68): do_action('xoo_wsc_cart_co...')
#4 /wp-content/plugins/side-cart-woocommerce/public/class-xoo-wsc-cart-data.php(37): require_once('/var/www/vhosts...')
#5 /wp-includes/class-wp-hook.php(286): xoo_wsc_Cart_Data->get_cart_markup('')
Kind Regards
]]>For some reason, the website will email me every now and again with an E_Error, it points to occurances of
WC()->cart->get_cart()
All plugin and theme references with this inside are included in the error, but I can’t for the life of me figure out why!
Would replacing this for another line work? What I can’t understand is we are on the latest version of WordPress & WooCommerce, this has only started to happen recently.
Kind Regards
]]>Freezing saving even one variation, produces a stack trace error in PHP. Have disabled plugins to no avail.
Stack trace:
#0 /var/www/mysite/wp-includes/class-wp-hook.php(286): WoocommerceGpfAdmin->save_variation(29891, 7)
#1 /var/www/mysite/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/mysite/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/mysite/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(532): do_action('woocommerce_sav...', 29891, 7)
#4 /var/www/mysite/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(2084): WC_Meta_Box_Product_Data::save_variations(29883, Object(WP_Post))
#5 /var/www/mysite/wp-includes/class-wp-hook.php(286): WC_AJAX::save_variations('')
#6 /var/www/mysite/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters" while reading response header from upstream,
]]>woocommerce_add_order_item_meta is deprecated since version 3.0.0! Use woocommerce_new_order_item instead.
a) How do I find out what is calling this or triggering it so I can track and trace the faulty code?
b) It’s happening on both the live and staging site. But I cannot work out EXACTLY when it occurs or what triggers it. So it is not easy to replicate at will. It seems to happen around cart/checkout time.
(Don’t say disable plugins blah blah blah)
Thank you
]]>adding around line 1231 (after return $result;}
)
// WSP ADDED
// Start Trace
function generateCallTrace()
{
$e = new Exception();
$trace = explode("\n", $e->getTraceAsString());
// reverse array to make steps line up chronologically
$trace = array_reverse($trace);
array_shift($trace); // remove {main}
array_pop($trace); // remove call to this method
$length = count($trace);
$result = array();
for ($i = 0; $i < $length; $i++)
{
$result[] = ($i + 1) . ')' . substr($trace[$i], strpos($trace[$i], ' ')); // replace '#someNum' with '$i)', set the right ordering
}
return "\t" . implode("\n\t", $result);
}
// WSP END
Add output around line 2351 after $fails['total'], $this->options['login_fail_minutes']) . '\n\n"
// WSP Edit
. sprintf(__("The URL Trace is \n\n ")). $this->generateCallTrace() . "\n\n" . "End Trace \n\n"
// WSP End
Back in vr 4.X adding this would tell me exactly what URL they were trying to use to process a login. Maybe someone can come up with a better trace solution report.
Hope you all find this useful. Iv been able to plug up a few wp leaks because of it.
https://www.ads-software.com/plugins/login-security-solution/
]]>Im trying to customize my website with ColorWay theme, but I can
t find where I remove the trace (Home >> Example Page) that appears under the menu.
I dont want this trace appearing, I also removed the "Home" webpage but it stills doesn
t work.
Anyone that can help ?!
TKS
Is there any wordpress module, plugin that is close for this?
]]>