Support » Plugin: Gallery Custom Links » Link is no longer being added as of 11/20 update [Homebrew / Gutenberg]

  • Resolved MarthaBechtel

    (@marthabechtel)


    There was an update this morning and the a href HTML code is no longer being generated by the plug-in. This worked fine before the update and I have tried disabling my other plugins with no change.

    I can’t tell if it’s having problems recognizing the img tag or in building the href tag. I don’t know where my host keeps its logs, but I’m going to dig and see if I can find them.

    Figured putting a heads up here wouldn’t hurt.

Viewing 10 replies - 16 through 25 (of 25 total)
  • I am on automatic updates so WordPress is the current version.

    PHP logs for the failure when I updated to 2.0.1.

    www.-------.com [Sat Nov 21 14:46:43 2020] [error] [client 83.151.205.189:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'KubAT\\PhpSimple\\HtmlDomParser' not found in /home/sites/12b/0/073e244928/public_html/wp-content/plugins/gallery-custom-links/classes/core.php:168\nStack trace:\n#0 [internal function]: Meow_MGCL_Core->linkify('<!DOCTYPE html>...', 9)\n#1 /home/sites/12b/0/073e244928/public_html/wp-includes/functions.php(4673): ob_end_flush()\n#2 /home/sites/12b/0/073e244928/public_html/wp-includes/class-wp-hook.php(287): wp_ob_end_flush_all('')\n#3 /home/sites/12b/0/073e244928/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)\n#4 /home/sites/12b/0/073e244928/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#5 /home/sites/12b/0/073e244928/public_html/wp-includes/load.php(1007): do_action('shutdown')\n#6 [internal function]: shutdown_action_hook()\n#7 {main}\n thrown in /home/sites/12b/0/073e244928/public_html/

    Same here 🙁

    Thread Starter MarthaBechtel

    (@marthabechtel)

    I’m using WordPress 5.5.3 and PHP 7.3.24

    I turned Logs on and on SiteGrounds I checked under Site -> File Manager -> public_html/php_errorlog. I didn’t find any errors that referenced Meow or custom links and I didn’t see any errors that weren’t also happening before the change.

    I went into the settings and tried both HtmlDomParser and DiDom, but neither worked.

    I have OB Mode Enabled (since the images are in the blog posts), turning that off gave me the following error with HtmlDomParser:

    Fatal error: Uncaught Error: Class 'KubAT\PhpSimple\HtmlDomParser' not found in /home/customer/www/mydomain/public_html/wp-content/plugins/gallery-custom-links/classes/core.php:168 Stack trace: #0 /home/customer/www/mydomain/public_html/wp-includes/class-wp-hook.php(287): Meow_MGCL_Core->linkify('\n<p>This sectio...') #1 /home/customer/www/mydomain/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('\n<p>This sectio...', Array) #2 /home/customer/wwwmydomain/public_html/wp-includes/post-template.php(253): apply_filters('the_content', '<!-- wp:paragra...') #3 /home/customer/www/mydomain/public_html/wp-content/themes/marthatheme/template-parts/content-single.php(45): the_content() #4 /home/customer/www/mydomain/public_html/wp-includes/template.php(732): require('/home/customer/...') #5 /home/customer/www/mydomain/public_html/wp-includes/template.php(676): load_template('/home/customer/...', false, Array) #6 /home/customer/www/mydomain/public_html/wp-includes/general-template.php(204): locate_tem in /home/customer/www/mydomain/public_html/wp-content/plugins/gallery-custom-links/classes/core.php on line 168

    and this error when I had it uncheck with DiDom:

    Fatal error: Uncaught Error: Class 'DiDom\Document' not found in /home/customer/www/mydomain/public_html/wp-content/plugins/gallery-custom-links/classes/core.php:172 Stack trace: #0 /home/customer/www/mydomain/public_html/wp-includes/class-wp-hook.php(287): Meow_MGCL_Core->linkify('\n<p>This sectio...') #1 /home/customer/www/mydomain/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('\n<p>This sectio...', Array) #2 /home/customer/www/mydomain/public_html/wp-includes/post-template.php(253): apply_filters('the_content', '<!-- wp:paragra...') #3 /home/customer/www/mydomain/public_html/wp-content/themes/marthatheme/template-parts/content-single.php(45): the_content() #4 /home/customer/www/mydomain/public_html/wp-includes/template.php(732): require('/home/customer/...') #5 /home/customer/www/mydomain/public_html/wp-includes/template.php(676): load_template('/home/customer/...', false, Array) #6 /home/customer/www/mydomain/public_html/wp-includes/general-template.php(204): locate_template(Array, tr in /home/customer/www/mydomain/public_html/wp-content/plugins/gallery-custom-links/classes/core.php on line 172

    I am not using the pro version, I am using the free version if that makes a difference.

    • This reply was modified 10 months, 4 weeks ago by MarthaBechtel.
    • This reply was modified 10 months, 4 weeks ago by MarthaBechtel.
    • This reply was modified 10 months, 4 weeks ago by MarthaBechtel.
    Plugin Author Jordy Meow

    (@tigroumeow)

    The version 2.0.2 should fix this 🙂

    Fixed for me. many thanks for the quick response.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Thanks 🙂 Don’t hesitate to leave a little review here: https://wordpress.org/support/plugin/gallery-custom-links/reviews/. I am doing my best so that it works for most people, so of course I had to do everything I can to fix those bugs.

    Hi. Now it works correctly again.
    I have uninstalled all the galleries that I had activated and I have replaced them by “adding media” one by one. My website is based on images and I cannot risk the links failing. Anyway, thank you very much for your work and for the quick solution to failure.

    Thread Starter MarthaBechtel

    (@marthabechtel)

    Confirmed that it works again for me as well, thank you! 😁

    Now working perfect! Thanks!!

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Link is no longer being added as of 11/20 update [Homebrew / Gutenberg]’ is closed to new replies.