After direct contact with paulwillem the cause of problem was found. One of the PHP server settings was set incorrectly which caused a malfunction of the plugin.
The PHP server setting ‘short_open_tag’ was set to Off but must be set to value On. That is the solution to the problem.
With the value Off in the admin a widget could be added succesfully (categories could be loaded, so the API key was set correctly) but the inserted short code in the WYSIWYG editor was incomplete.
Wrong example:
[bol_bestsellers limit=”5″ block_id=”bol__bestsellers” cat_id=”8299″ name=”jkkj” sub_id=”” title=”” background_color=”FFFFFF” text_color=”0000FF” link_color=”000000″ border_color=”D2D2D2″ width=”250″ cols=”1″ show_bol_logo=”1″ show_price=”1″ show_rating=”1″ link_target=”1″ image_size=”1″]
Good example:
[bol_bestsellers limit=”5″ block_id=”bol_521c4fbb57e2b_bestsellers” cat_id=”8299″ name=”jkkj” sub_id=”” title=”” background_color=”FFFFFF” text_color=”0000FF” link_color=”000000″ border_color=”D2D2D2″ width=”250″ cols=”1″ show_bol_logo=”1″ show_price=”1″ show_rating=”1″ link_target=”1″ image_size=”1″]
The block_id missed an unique id. This caused another problem in the frontend of the website. The javascript missed also an unique id:
wrong example:
<script type=”text/javascript”>BolPartner_SelectedProducts = {“bol_<!–?= uniqid() ?–>_selected-products”:
good example:
<script type=”text/javascript”>BolPartner_SelectedProducts = {“bol_521c4f9e4944f_selected-products”:
When you notice you can retrieve categories, but you have one of the following problems please review your PHP server settings.