Urgent Site Completely Down Hook Not Callable

Had issues installing an addon and now this, can anyone help please. Cant access admin to uninstall addon or access front end.

JOhn

Hook fn_product_stickers_dispatch_assign_template is not callable

Tygh\Exceptions\AException Message

Hook fn_product_stickers_dispatch_assign_template is not callable

Error at

app/functions/fn.control.php, line: 140

Backtrace File: app/functions/fn.control.php Line: 453 Function: fn_set_hook File: index.php Line: 25 Function: fn_dispatch

Disable the addon in the data base table cscart_addons.

Hello

Add this function to the /app/addons/product_stickers/func.php file
function fn_product_stickers_dispatch_assign_template ($ controller, $ mode, $ area, $ controllers_cascade)
{
return true;
}
Best regards
Robert

Or comment out the 'dispatch_assign_template' line in the fn_register_hooks() call in app/addons/product_stickers/init.php

Or contact the supplier of 'product_stickers' and have them help you with their code.

Thanks for the replies, none seemed to work each time I just get the errors or more back.

Its the conflict between the 2 same type of addon as far as we can tell. The only thing that works is renaming the directory in

app/addons

Then the front end works fine with no errors reported and we get the 404 screenshot below, on each page change in the admin and when logged in as root user we can process orders (but not any other user),

so it is useable for now and Im waiting for the developer of the new addon to get rid of the old devs addon and install the new one .

but at least Im back open and taking orders,

https://prnt.sc/oupo80

Same old story, I should have installed on dev first :)

Thanks for the replies Quick run down,if anyone else is silly enough to do similar :)

.

I installed a product stickers addon whilst having and older version from another company disabled.

This caused some conflicts somewhere, and the new dev renamed the func file of the old addon which seemed to work, but when trying to use the addon not all parts worked, (adding stickers manually)

I uninstalled and reinstalled in admin, and this is what caused the site to go completely front end and back end, )Previoulsy it was just back end and we could cope with that till a fix)

Everytime I tried one of your replies above the service error still appeared.

I went though all the directories on the server of the old addon and remaned the old one in apps/addons to something else.

This got the front and back working but with the 404 error like above.

So I duplicated the whole site to my dev zipped up all the old addon files and deleted them, reinstalled the new companies addon and it worked. (note it didnt upload and work via admin upload correctly, I had to manually unzip files via ftp)

All seems well, and I like the new addon, very flexible.

I think in general, make sure you uninstall all previous similar addon, if using a new one, and not just disable.

JOhn

Getting similar error after enabling reward points addon. Appreciate a fix. thanks.

Tygh\Exceptions\AException Message

Hook fn_reward_points_load_products_extra_data is not callable

Error at

app/Tygh/Exceptions/DeveloperException.php, line: 41

Hello

This means that the addon reward_points in the init.php file is declared to support a hook, but there is no function to support it. So in the func.php file of this addon there is no fn_reward_points_load_products_extra_data function.

What version of the store do you have?

Best regards

Robert

Hello

This means that the addon reward_points in the init.php file is declared to support a hook, but there is no function to support it. So in the func.php file of this addon there is no fn_reward_points_load_products_extra_data function.

What version of the store do you have?

Best regards

Robert

We are using cs-cart 4.11.3.

Hello

I our local shop we have this finction

./addons/reward_points/func.php:function fn_reward_points_load_products_extra_data(&$extra_fields, $products, $product_ids, $params, $lang_code)

Please check in your shop. Have you upgraded your store? did you install version 4.11.3 from source?

Best regards

Robert