Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Loralee_H

    (@loralee_h)

    It’s also adding a new error message to the top of the page when I click through on any of these links

    Warning: array_key_exists(): The first argument should be either a string or an integer in /home1/larpoon/public_html/14DayProductChallenge.com/member/wp-includes/cache.php on line 669

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey again Loralee ??

    Is this when you are adding “Link” menu items to your menu? via Appearance > Menus?

    I just visited your site and the links all seem to be correct now, unless I’m missing something?

    There is the CoursePress menu items that are automatically added by default; however, you can turn those off by going to:

    CoursePress > Settings > Display menu items. Then uncheck that option.

    Are you still having the issue?

    Warning: array_key_exists(): The first argument should be either a string or an integer in /home1/larpoon/public_html/14DayProductChallenge.com/member/wp-includes/cache.php on line 669

    It sounds like you have WP_DEBUG set to ‘true’ in your wp-config.php file. If you set that to false then it should hide these warnings. Usually this type of PHP warning is just harmless and meant for the developer to debug errors. It’s always good to report them if you do find them though, then our developers can fix them up to prevent any possible future errors creeping up ??

    When you look in your wp-config.php file you should see this line:

    define( 'WP_DEBUG', true );

    Set that to ‘false’.

    Look forward to hearing back on this.

    All the best,
    Tyler

    Thread Starter Loralee_H

    (@loralee_h)

    No, it’s not part of the menu, but part of the body of a lesson. Would it be helpful to give you access to the file?

    sorry for taking so long to get back to you. My WordPress emails have been blocked in gmail, so I don’t get notifications, even though I check the checkbox (weird, I know).

    Here’s a screenshot of one of the links I’m referring to.

    https://screencast.com/t/BOhuFJd40J

    Thread Starter Loralee_H

    (@loralee_h)

    update on the WP DEBUG.

    It was already set as false. Could there be another reason this is happening?

    If you’d like to see these errors live on my site you could use the coupon code TYLER
    https://14dayproductchallenge.com/member/courses/

    define(‘WP_DEBUG’, false);

    Thanks again for looking into this Tyler! My students love the design & I’m hoping we can work out these bugs so I can use it long term.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URL redirection on links inside courses’ is closed to new replies.