Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gastrikhell

    (@gastrikhell)

    I see that the pro plugin had an update available. I supposed you added your solution to my probleme because I see the code you provided already in the config.

    Editing?amazon-auto-links-pro/template/column/class/AmazonAutoLinksPro_Template_Column.php?(active)

    Line 27 to 36:

    static protected $aStructure_UnitOptions = array(
    ‘id’ => null,
    ‘_labels’ => null,
    );

    protected $aUnitOptions = array();

    protected $aTemplateOptions = array();

    public function __construct( $aUnitOptions, $aTemplateOptions ) {

    I purchased my pro licence 2-3 weeks ago. I suppose I have support included? How can we continue this support thread else where?

    Here is the debug with corrected code for https://s1003138452.online-home.ca/nursery/:

    Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php:170 Stack trace: #0 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(170): DOMDocument->loadHTML() #1 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(132): AmazonAutoLinks_DOM->_loadHTML() #2 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(65): AmazonAutoLinks_DOM->loadDOMFromHTML() #3 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/scraper/AmazonAutoLinks_ScraperDOM_Base.php(66): AmazonAutoLinks_DOM->loadDOMFromHTMLElement() #4 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/utility/AmazonAutoLinks_ScraperDOM_BestsellerProducts_Base.php(35): AmazonAutoLinks_ScraperDOM_Base->__construct() #5 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(254): AmazonAutoLinks_ScraperDOM_BestsellerProducts_Base->__construct() #6 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(185): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->___getProductsScraped() #7 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(136): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->___getProductsFromURLs() #8 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(36): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->___getFoundProducts() #9 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/_common/event/filter/AmazonAutoLinks_Unit_UnitType_Common_Event_Filter_ProductsFetcher_Base.php(53): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->_getItemsFromSource() #10 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): AmazonAutoLinks_Unit_UnitType_Common_Event_Filter_ProductsFetcher_Base->replyToGet() #11 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #12 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/_common/output/_abstract/AmazonAutoLinks_UnitOutput_Base.php(625): apply_filters() #13 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/_common/output/_abstract/AmazonAutoLinks_UnitOutput_Base.php(292): AmazonAutoLinks_UnitOutput_Base->fetch() #14 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/_common/_abstract/AmazonAutoLinks_Unit_UnitType_Loader_Base.php(188): AmazonAutoLinks_UnitOutput_Base->get() #15 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): AmazonAutoLinks_Unit_UnitType_Loader_Base->replyToGetUnitOutput() #16 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(256): WP_Hook->apply_filters() #17 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(169): apply_filters_ref_array() #18 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(141): AmazonAutoLinks_Output->___getOutputByUnitType() #19 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(118): AmazonAutoLinks_Output->___getOutputByID() #20 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(84): AmazonAutoLinks_Output->___getOutput() #21 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Main_Output_Loader.php(31): AmazonAutoLinks_Output->get() #22 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): AmazonAutoLinks_Main_Output_Loader->replyToGetOutput() #23 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #24 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/gutenberg/unit_block/AmazonAutoLinks_GutenbergBlock_UnitBlock.php(102): apply_filters() #25 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/gutenberg/unit_block/AmazonAutoLinks_GutenbergBlock_UnitBlock.php(95): AmazonAutoLinks_GutenbergBlock_UnitBlock->___getOutputFrontend() #26 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/gutenberg/_common/AmazonAutoLinks_GutenbergBlock_Dynamic_Base.php(54): AmazonAutoLinks_GutenbergBlock_UnitBlock->_renderBlock() #27 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-block.php(463): AmazonAutoLinks_GutenbergBlock_Dynamic_Base->replyToRenderDynamicBlock() #28 /homepages/18/d1003138455/htdocs/wp-includes/blocks.php(1705): WP_Block->render() #29 /homepages/18/d1003138455/htdocs/wp-includes/blocks.php(1743): render_block() #30 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): do_blocks() #31 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #32 /homepages/18/d1003138455/htdocs/wp-includes/post-template.php(256): apply_filters() #33 /homepages/18/d1003138455/htdocs/wp-content/themes/shuttle-pro/content-page.php(11): the_content() #34 /homepages/18/d1003138455/htdocs/wp-includes/template.php(812): require(‘/homepages/18/d…’) #35 /homepages/18/d1003138455/htdocs/wp-includes/template.php(745): load_template() #36 /homepages/18/d1003138455/htdocs/wp-includes/general-template.php(206): locate_template() #37 /homepages/18/d1003138455/htdocs/wp-content/themes/shuttle-pro/page.php(14): get_template_part() #38 /homepages/18/d1003138455/htdocs/wp-includes/template-loader.php(106): include(‘/homepages/18/d…’) #39 /homepages/18/d1003138455/htdocs/wp-blog-header.php(19): require_once(‘/homepages/18/d…’) #40 /homepages/18/d1003138455/htdocs/index.php(17): require(‘/homepages/18/d…’) #41 {main} thrown in /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php on line 170

    Thread Starter gastrikhell

    (@gastrikhell)

    PHP version 8.2.18 (Supports 64bit values)

    See below result from my site page/link posted above:

    Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php:170 Stack trace: #0 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(170): DOMDocument->loadHTML() #1 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(132): AmazonAutoLinks_DOM->_loadHTML() #2 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(65): AmazonAutoLinks_DOM->loadDOMFromHTML() #3 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/scraper/AmazonAutoLinks_ScraperDOM_Base.php(66): AmazonAutoLinks_DOM->loadDOMFromHTMLElement() #4 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/utility/AmazonAutoLinks_ScraperDOM_BestsellerProducts_Base.php(35): AmazonAutoLinks_ScraperDOM_Base->__construct() #5 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(254): AmazonAutoLinks_ScraperDOM_BestsellerProducts_Base->__construct() #6 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(185): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->___getProductsScraped() #7 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(136): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->___getProductsFromURLs() #8 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/category/event/filter/AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher.php(36): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->___getFoundProducts() #9 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/unit_type/_common/event/filter/AmazonAutoLinks_Unit_UnitType_Common_Event_Filter_ProductsFetcher_Base.php(53): AmazonAutoLinks_Unit_Category_Event_Filter_ProductsFetcher->_getItemsFromSource() #10 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): AmazonAutoLinks_Unit_UnitType_Common_Event_Filter_ProductsFetcher_Base->replyToGet() #11 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #12 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/_common/output/_abstract/AmazonAutoLinks_UnitOutput_Base.php(625): apply_filters() #13 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/_common/output/_abstract/AmazonAutoLinks_UnitOutput_Base.php(292): AmazonAutoLinks_UnitOutput_Base->fetch() #14 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/unit/_common/_abstract/AmazonAutoLinks_Unit_UnitType_Loader_Base.php(188): AmazonAutoLinks_UnitOutput_Base->get() #15 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): AmazonAutoLinks_Unit_UnitType_Loader_Base->replyToGetUnitOutput() #16 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(256): WP_Hook->apply_filters() #17 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(169): apply_filters_ref_array() #18 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(141): AmazonAutoLinks_Output->___getOutputByUnitType() #19 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(118): AmazonAutoLinks_Output->___getOutputByID() #20 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Output.php(84): AmazonAutoLinks_Output->___getOutput() #21 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/main/output/AmazonAutoLinks_Main_Output_Loader.php(31): AmazonAutoLinks_Output->get() #22 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): AmazonAutoLinks_Main_Output_Loader->replyToGetOutput() #23 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #24 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/gutenberg/unit_block/AmazonAutoLinks_GutenbergBlock_UnitBlock.php(102): apply_filters() #25 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/gutenberg/unit_block/AmazonAutoLinks_GutenbergBlock_UnitBlock.php(95): AmazonAutoLinks_GutenbergBlock_UnitBlock->___getOutputFrontend() #26 /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/component/gutenberg/_common/AmazonAutoLinks_GutenbergBlock_Dynamic_Base.php(54): AmazonAutoLinks_GutenbergBlock_UnitBlock->_renderBlock() #27 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-block.php(463): AmazonAutoLinks_GutenbergBlock_Dynamic_Base->replyToRenderDynamicBlock() #28 /homepages/18/d1003138455/htdocs/wp-includes/blocks.php(1705): WP_Block->render() #29 /homepages/18/d1003138455/htdocs/wp-includes/blocks.php(1743): render_block() #30 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-hook.php(324): do_blocks() #31 /homepages/18/d1003138455/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #32 /homepages/18/d1003138455/htdocs/wp-includes/blocks/post-content.php(48): apply_filters() #33 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-block.php(463): render_block_core_post_content() #34 /homepages/18/d1003138455/htdocs/wp-includes/class-wp-block.php(443): WP_Block->render() #35 /homepages/18/d1003138455/htdocs/wp-includes/blocks.php(1705): WP_Block->render() #36 /homepages/18/d1003138455/htdocs/wp-includes/blocks.php(1743): render_block() #37 /homepages/18/d1003138455/htdocs/wp-includes/block-template.php(260): do_blocks() #38 /homepages/18/d1003138455/htdocs/wp-includes/template-canvas.php(12): get_the_block_template_html() #39 /homepages/18/d1003138455/htdocs/wp-includes/template-loader.php(106): include(‘/homepages/18/d…’) #40 /homepages/18/d1003138455/htdocs/wp-blog-header.php(19): require_once(‘/homepages/18/d…’) #41 /homepages/18/d1003138455/htdocs/index.php(17): require(‘/homepages/18/d…’) #42 {main} thrown in?/homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php?on line?170

    This is from a working page (https://s1003138452.online-home.ca/amazon-devices-accessories/

    Deprecated: Creation of dynamic property AmazonAutoLinksPro_Template_Column::$aUnitOptions is deprecated in /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links-pro/template/column/class/AmazonAutoLinksPro_Template_Column.php on line 35

    Deprecated: Creation of dynamic property AmazonAutoLinksPro_Template_Column::$aTemplateOptions is deprecated in /homepages/18/d1003138455/htdocs/wp-content/plugins/amazon-auto-links-pro/template/column/class/AmazonAutoLinksPro_Template_Column.php on line 37

    Thanks for your help.

    Thread Starter gastrikhell

    (@gastrikhell)

    I must precise that if I disable AAL plugins, the pages load just fine.

    • This reply was modified 7 months, 1 week ago by gastrikhell.
Viewing 3 replies - 1 through 3 (of 3 total)