• Resolved lucein

    (@lucein)


    Hello,

    I have two sites running Better Notifications for WP. Both of which also have the plugin GEOController which identifies users Geo location information and makes this data available to be rendered via shortcodes.

    Both sties are running the same versions of Better Notifications 1.9.6 and GeoController 8.6.9.

    Site 1 is running WP 6.2.2 with PHP 7.4.13
    This site renders the GEOcontroller shortcodes in emails being sent out with Better Notifications

    Site2 running WP 6.5.5 with PHP 8.1.12
    This site will NOT render the GEOController shortcodes in emails.

    examples of the shortcodes not rendering in the emails being sent.

    IP Address: [cfgeo return=”ip”]
    Location: [cfgeo return=”address”]
    below is a listing of all the shortcodes that GeoController supports.
    https://wpgeocontroller.com/documentation/quick-start/cf-geoplugin-shortcodes.

    I have tried disabling plugins to get it to work. But it seems that Better Notifications is ignoring the shortcodes that are being creating by the GeoController plugin.

    I spoke to the developer of GeoController and he is does not know why the shortcode is not being rendered in notifications sent through your plugin on one site and not the other. As the shortcodes work everywhere else they have been placed. He suggested reaching out to you as the shortcodes are working everywhere else.

    please advise.

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

    (@voltronik)

    Hi @lucein,
    Thanks for your message.

    As it would be difficult for me to replicate your exact scenario to test this myself, my suggestion would be to try and match the set-up of Site 2 with Site 1 to see if the shortcodes do work and if they don’t, start scaling from there, starting with the easiest (probably upgrading WP from 6.2.2 to 6.5.5) until you find the cause. You may be running a different version of BNFW too as the latest few versions only work with PHP 8+.

    Can you also confirm which notification(s) you’re trying to use the cfgeo shortcodes in too?

    Happy to help wherever I can in getting this narrowed down.

    Thread Starter lucein

    (@lucein)

    Hello,

    the short code being attempting to be used is:

    [cfgeo]

    As stated before, Site 2 is NOT rendering and is running:
    WP: 6.5.5
    PHP 8.1.12
    tired BNFW 1.9.6 & 1.9.3 versions

    While Site 1 is running older versions of WP and PHP, but it is working correctly rendering the shortcoes. Short codes are working here.
    WP 6.2.2 with PHP 7.4.13

    configuration is matched between the two sites with the same plugins and versions. Outside of the WP and PHP versions. I expected if there would be problem it would be on Site 1 as it is running an older version of WP and PHP.

    Is there some logging or something that we can turned on for Better Notifications so that I can see if an error is being generated when an email is being sent?

    On site 1 I got a message that the 1.9.6 version is not compatible with the PHP version, but it was active and working. I reverted Site 1 back to the 1.9.3 version to clear the message and still the short code works on Site 1.

    I also tried reverting BNFW the version on Site 2 to 1.9.3 as well. But that made no difference. The shortcode will not render in emails being sent.

    I can not roll back the PHP version or WP version on Site 2 and I was getting read to upgrade Site 1 to the newer version of PHP and WP. which this needs to work for security emails to function properly.

    the developer of GeoController confirmed his plugin is working everywhere else in the site 2. The only exception is that your plugin is not rendering the short codes.

    I could understand the older versions not working with a newer plugin. But it not working with the newer versions, I am perplexed. As well as site 1 is slated to be upgraded and now I am afraid that these security emails stop working once upgraded.

    let me know if there is any type of logging that can be turned on

    Plugin Author bnfw

    (@voltronik)

    Hi @lucein,
    Thanks for your message.

    There isn’t any logging that is availble inside of BNFW unfortuantely.
    As this is down to a very specific configuration of PHP, WordPress, BNFW version, and 3rd party plugin (GeoController) it’s difficult for me to make any more recommendations beyond what I already have done. In my experience, this will be a case of testing each scenario until you find what the cause is and this, unfortuantely, is beyond the level of support I can offer for the free core plugin. Your host may be able to make some recommendations, or see some level of debugging on the server that isn’t easily accessible.

    Happy to help where I can but not sure what more I can suggest at this stage.

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.