• LanceUEP

    (@lanceuep)


    A couple of days ago I woke up and this plugin no longer was working and was causing my site to not load correctly.

    In the web server logs:

    PHP Fatal error:? Uncaught Error: Call to undefined function mb_encode_numericentity() in /var/www/html/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php:162
    
    Stack trace:
    
    #0 /var/www/html/wp-content/plugins/amazon-auto-links/include/core/_common/utility/interpreter/AmazonAutoLinks_DOM.php(132): AmazonAutoLinks_DOM->_loadHTML()
    
    #1 /var/www/html/wp-content/plugins/amazon-auto-links/include/core/_common/utility/AmazonAutoLinks_PluginUtility.php(209): AmazonAutoLinks_DOM->loadDOMFromHTML()
    
    #2 /var/www/html/wp-content/plugins/amazon-auto-links/include/core/main/event/filter/AmazonAutoLinks_Main_Event_Filter_HTTPResponseCaptureCaptchaError.php(65): AmazonAutoLinks_PluginUtility::isBlockedByAmazonCaptcha()
    
    #3 /var/www/html/wp-content/plugins/amazon-auto-links/include/core/main/event/filter/AmazonAutoLinks_Main_Event_Filter_HTTPResponseCaptureCaptchaError.php(48): AmazonAutoLinks_Main_Event_Filter_HTTPResponseCaptureCaptchaError->___getError" while reading response header from upstream, client: 216.244.66.229, server: www.tipsforrealestatephotography.com, request: "GET /comment-subscriptions/?srp=652&srk=abd239e6b5d38cc0b85c0491b4d87729&sra=s&srsrc=f HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.

    Additionally, trying to load the settings of the plugin fails and just show “Loading …”. Seems like this is the same issue as another user that just posted this. Every tab I click on has the same behavior – no settings are showing.

    I don’t have an adblocker on, and everything was working great for a few weeks until just a few days ago – I haven’t added/changed any plugins, etc.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    I’m not sure what causes the loading issue of the setting page. For the PHP error, it is probably due to the PHP server not having the mb_string extension. Please try the development version 5.4.10b01 which should avoid the error.

    Thread Starter LanceUEP

    (@lanceuep)

    Hi,

    There has been nothing that has changed on my end regarding PHP installations, server installations, etc. This plugin worked just fine as of a few days ago.

    5.4.10b01 doesn’t break my site when activated, however it doesn’t work and I’m still unable to get to any of the settings pages as they just state “Loading”.

    Thread Starter LanceUEP

    (@lanceuep)

    My apologies, I did have an adblocker on that was running outside of my local browser that I wasn’t aware of (AdGuard) and disabling that allowed the settings pages to come back. I’ll see what I can do to resolve the display issues before requesting additional assistance.

    Plugin Author miunosoft

    (@miunosoft)

    Glad to hear you nailed it.

    It is a type of an ad-block application installed on routers?

    There has been nothing that has changed on my end regarding PHP installations, server installations, etc. This plugin worked just fine as of a few days ago.

    v5.4.0 had some changes regarding the internal interpreter of HTML documents and started using a function called mb_encode_numericentity(). Before v5.4.0, a different mb_string function was used and there was logic to avoid errors for the servers without the mb_string PHP extension. v5.4.0 does not check whether the PHP server has it or not. The development version linked above can handle it.

    I guess you have updated the plugin recently and had not encountered a case that uses the mb_string-related function for a while. Such a situation can occur when you have a caching plugin running on your site. The plugin may have been trying to update units in the background so you did not notice the error or something.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin Broken – Causes Site to Not Display Correctly’ is closed to new replies.