• Resolved l1512191

    (@l1512191)


    I get the warning below, if I have WP_DEBUG enabled.

    Deprecated: Creation of dynamic property PrliOptions::$link_redirect_action is deprecated in?/www/wp/wp-content/plugins/pretty-link/app/models/PrliOptions.php?on line?42

    Plugin Version 3.6.3
    WordPress Version 6.4.3

    • This topic was modified 9 months, 2 weeks ago by l1512191.
    • This topic was modified 9 months, 2 weeks ago by l1512191.

    The page I need help with: [log in to see the link]

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

    (@caseproof)

    Can you confirm what version of PHP you’re using?

    Thread Starter l1512191

    (@l1512191)

    PHP v8.2

    Our host only allows customers to choose from 8.1 + 8.2 + 8.3 as everything below has known security issues.

    Plugin Author Caseproof

    (@caseproof)

    It looks like this error might be related to the issue in Pretty Links options table on your site. The error points to the link_redirect_action option. I checked our plugin and this option is not instantiated in PL anywhere so PHP throws an error. I don’t know what happened that this option was saved but please install Code Snippets plugin and run this code (Code Snippet has “Only run once” checkbox that allows you to run code once):

    $options = get_option('prli_options');
    unset($options['link_redirect_action']);
    update_option('prli_options', $options);

    That code should delete link_redirect_action from PL options so you shouldn’t get this error anymore.

    Best

    Thread Starter l1512191

    (@l1512191)

    Seems to have done the trick. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PrliOptions::$link_redirect_action is deprecated’ is closed to new replies.