Warning: Undefined array key “pagination_postsperpage”

Hi, I’m working on my first website, and this error table occurred. Does anyone know how to fix this? I’ve seen some guys on StackOverflow dealing with an ‘Undefined array key’ error in PHP and using this piece of code:

if (isset($lookup_table[$key])) {
return $lookup_table[$key];
}

else {
return;
}

But since I’m really new to this, I’m not sure where I should put it.

​

PS: I’m using Local.exe for “hosting” while I’m working on it. Could that be a problem?

https://preview.redd.it/sif5wdaf8hzc1.png?width=1403&format=png&auto=webp&s=2bb2d7f8b5afaffe69dab46c47118a091562e7fc

https://preview.redd.it/rqjz0naf8hzc1.png?width=1403&format=png&auto=webp&s=d5426e339505199b0d47f05158f90d7255f765e6

1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer