@ecartz
Test it on 1.0.8.20 and same thing.. any one have same issue?
@ecartz
Have you tried it without the URL rewriter and other add-ons?
sorry it was wrong screen shotecartz wrote: ↑Sat Dec 31, 2022 7:13 pmHave you tried it without the URL rewriter and other add-ons?
Alternately, I note that your screenshot shows the customer ID as 0. Are these logged in users? Because I don't think that Who's Online shows infoboxes for anonymous users. Or if they are logged in, then perhaps there is something wrong with the thing that is supposed to store that.
Similar issue, using 1.0.8.20 on a staging site on XAMPP, info box not showing on whos_online.php
Code: Select all
PHP Notice: Undefined variable: product in /home/XXXX/public_html/admin/includes/actions/catalog/infoboxes/move_product.php on line 15
PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/XXXX/public_html/admin/includes/actions/catalog/infoboxes/move_product.php:15
Stack trace:
#0 /home/XXXX/public_html/admin/includes/components/infobox.php(15): require()
#1 /home/XXXX/public_html/admin/includes/actions/catalog/views/default.php(175): require('/home/XXXX/p...')
#2 /home/XXXX/public_html/admin/catalog.php(48): require('/home/XXXX/p...')
#3 {main}
thrown in /home/XXXX/public_html/admin/includes/actions/catalog/infoboxes/move_product.php on line 15
Code: Select all
$contents = ['form' => (new Form('products', $Admin->link('catalog.php', ['action' => 'move_product_confirm', 'cPath' => $cPath])))->hide('products_id', $product->get('id'))];
Code: Select all
<?php
if ($action_file = $GLOBALS['Admin']->locate('/infoboxes', $GLOBALS['action'])) {
require DIR_FS_ADMIN . 'includes/components/infobox.php';
}
?>
Code: Select all
require $action_file;
Code: Select all
$base_url = HTTP_SERVER . DIR_WS_ADMIN;
if ($view_file = $Admin->locate('/views', $action)) {
require $view_file;
}
It says that $product isn't set. What's the URL after catalog.php? E.g. it might say something like catalog.php?cPath=1_2&products_id=3&action=move_product
Code: Select all
catalog.php?cPath=1_2&products_id=3&action=move_product
Code: Select all
catalog.php?cPath=1_2&pID=3&action=move_product