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 {

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?



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