Forum Replies Created

Viewing 1 replies (of 1 total)
  • Pektsekye (@pektsekye)
    Greetings,
    Wanted to say thank you for this plugin, it is a very useful one for what I am trying to accomplish.
    However I have come into an issue when trying to apply the “To make drop-downs not preselected” modification. When replacing the original file with this one where the selection is commented out. (lines 213, 318)

    When reloading the site, I get the following error. Any suggestions as to why?

    Warning: include(C:\laragon\www\TechEyeAirbagSite\wp-content\plugins\ymm-search/view/frontend/templates/horizontal_selector.phtml): failed to open stream: No such file or directory in C:\laragon\www\TechEyeAirbagSite\wp-content\plugins\ymm-search\Block\Selector.php on line 400
    
    <code>Warning: include(): Failed opening 'C:\laragon\www\TechEyeAirbagSite\wp-content\plugins\ymm-search/view/frontend/templates/horizontal_selector.phtml' for inclusion (include_path='.;C:/laragon/etc/php/pear') in C:\laragon\www\TechEyeAirbagSite\wp-content\plugins\ymm-search\Block\Selector.php on line 400</code>
    

    When looking at that line it shows the below code (of course you know this I am sure haha) but figured place it for reference.

    include(Pektsekye_YMM()->getPluginPath() . 'view/frontend/templates/' . $templateFile);
    

    Thank you for any help you can provide.
    Travis

    ****EDITED****
    I found the issue, for some reason it had phtml as the file path lookup. I changed that to PHP and worked fine.

    Thanks

    • This reply was modified 4 years, 8 months ago by techeyewebsolutions. Reason: Found the issue
Viewing 1 replies (of 1 total)