• Hi,

    I have the plugin installed on my site and am currently seeing some PHP code which only shows in the backend.
    I have updated the plugin and wordpress
    If I deactive this code disappears.
    I have cleared cache
    I have tried fully deleting the plugin and reinstalling. Code still shows.

    Please advise what can be done to prevent this from showing. Thank you!

    Here is the PHP that I see:

    function delayReviewPrompt(event, type, triggerClick = true, openLink = false) { event.preventDefault(); if ( triggerClick ) { jQuery(‘#prli_review_notice’).fadeOut(); } if ( openLink ) { var href = event.target.href; window.open(href, ‘blank’); } jQuery.ajax({ url: ajaxurl, type: ‘POST’, data: { action: ‘pl_dismiss_review_prompt’, nonce: “53d328341a”, type: type }, }) .done(function(data) { }); } jQuery(document).ready(function($) { $(‘.prli-review-selection’).click(function(event) { event.preventDefault(); var $this = $(this); var selection = $this.data(‘review-selection’); $(‘#prli_review_intro’).hide(); $(‘#prli_review‘ + selection).show(); }); $(‘body’).on(‘click’, ‘#prli_review_notice .notice-dismiss’, function(event) { delayReviewPrompt(event, ‘delay’, false); }); });

Viewing 1 replies (of 1 total)
  • Plugin Support oiler

    (@eulerarthur)

    Hey there,

    Thanks for your contact and welcome to our support!

    We might be facing an interaction issue with a third-party functionality, in this case:

    • Make sure to have a complete backup before proceeding, and if possible test it in a staging version, not in the live production website
    • Deactivate all the plugins that are not related to Pretty Links
    • Switch for a moment to a WordPress default theme like Twenty Twenty-one
    • If the issue is gone, activate one by one to see with which one there is an interaction issue

    Could you please tell me the results of this investigation? Moreover, can you please enable the debug mode? Just add the following code in your wp-config.php file:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );

    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );

    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( 'SCRIPT_DEBUG', true );

    Please check the following links to read more about debugging with WordPress.

    After adding the code above, try to reproduce the issue again and check if you’ll find a debug.log file inside the wp-content folder. If you locate it there, kindly send us the last lines here in the ticket.

    I’m looking forward to your reply. Thank you!

    Best regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.