Month: November 2024

Popup After PayPal Return

User When return from PayPal after payment made to wordpress website showing some popup for a second on website Assistant The popup you see briefly after returning from PayPal could be related to one of the following reasons: ### 1. **Thank You Page Redirection** Some WordPress plugins, especially e-commerce ones (like WooCommerce), might briefly show […]

Watermark Layering Fix

User <style> body { font-family: "DejaVu Sans", "DejaVu Sans Mono", "DejaVu", sans-serif, monospace; font-size:11px; } @page { margin: 480px 50px 100px 50px; } #header { position: fixed; left: 0; top: -460px; right: 0; height: 400px; text-align: center; } #footer { position: fixed; left: 0; bottom:0; right: 0; height: 100px; font-size:11px; text-align: center; } #content { […]

WooCommerce PDF Invoice Error

User Fatal error: Uncaught WooCommercePDFInvoiceException: file_get_contents(): Passing null to parameter #2 ($use_include_path) of type bool is deprecated 8192 in /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/lib/dompdf/src/Helpers.php:507 Stack trace: #0 [internal function]: WooCommercePDFInvoiceHelpers::record_warnings() #1 /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/lib/dompdf/src/Helpers.php(838): file_get_contents() #2 /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/lib/dompdf/src/Css/Stylesheet.php(363): WooCommercePDFInvoiceHelpers::getFileContent() #3 /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/lib/dompdf/src/Dompdf.php(567): WooCommercePDFInvoiceCssStylesheet->load_css_file() #4 /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/lib/dompdf/src/Dompdf.php(719): WooCommercePDFInvoiceDompdf->processHtml() #5 /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/classes/class-pdf-send-pdf-class.php(176): WooCommercePDFInvoiceDompdf->render() #6 /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/classes/class-pdf-export.php(100): WC_send_pdf::get_woocommerce_invoice() #7 /home/storm/sites/hbguq-nimsite-uk/public/wp-includes/class-wp-hook.php(324): WC_pdf_export->handle_shop_order_bulk_actions() #8 /home/storm/sites/hbguq-nimsite-uk/public/wp-includes/plugin.php(205): WP_Hook->apply_filters() #9 /home/storm/sites/hbguq-nimsite-uk/public/wp-admin/edit.php(222): apply_filters() #10 {main} […]

PHP Syntax Update Fix

User Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/storm/sites/hbguq-nimsite-uk/public/wp-content/plugins/woocommerce-pdf-invoice-1/lib/barcodes/BarcodeGenerator.php on line 292 Assistant This error message indicates that your code is using the outdated curly brace `{}` syntax for accessing array or string offsets, which is no longer supported in PHP 7.4 and above. Instead, you […]

GeoDirectory AJAX Troubleshooting

User Geodirectory advance search Ajax not working even on Assistant If the advanced search using AJAX in the GeoDirectory plugin isn't working on your WordPress site, here are several steps to troubleshoot and resolve the issue: ### 1. **Check Browser Console for Errors** Open your browser's developer tools (usually by pressing `F12` or `Ctrl+Shift+I`) and […]

Dompdf watermark issue

User WooCommerce PDF invoice plugin Dompdf from where watermark text showing in invoice Assistant The watermark text on a WooCommerce PDF invoice using **Dompdf** could be coming from several sources within the PDF generation settings. Here's how you can troubleshoot and modify the watermark text: ### 1. **Check the Plugin Settings** If you are using […]

GeoDirectory Filter Issues

User Geo directory Advanced search filters not working Assistant If your **GeoDirectory** advanced search filters are not working, there could be several reasons why the filters are not functioning as expected. Here are some steps and potential solutions to troubleshoot and resolve the issue: ### 1. **Check for JavaScript Errors** – Open your browser's **Developer […]

Update Correction

User Sir We are creating update and I'll send soon Correct above sentence Assistant The corrected sentence would be: "Sir, we are creating the update and I will send it soon."

Foreach loop conversion

User Assistant To convert the `while` loop to a `foreach` loop in your WordPress template, you can loop over the `$wp_query->posts` array, which contains all the posts. Here’s how you can modify your code: <section id="blog-content-section" class="blog-search-section"> <div class="row blog-section-container"> <div class="blog-section"> <?php global $wp_query; echo $wp_query->request; ?> <?php if ( have_posts() ) : ?> […]

Search query post limit

User Assistant If your WordPress search query is returning results (as indicated by `$wp_query->request`) but only displaying four rows, the issue might be related to one of the following factors: ### 1. **WordPress Query Parameters (`posts_per_page`)**: By default, WordPress limits the number of posts displayed per page, often to 10. If you're only seeing four […]