Database size for news publishers?

Your problem is most likely not the size itself but how queries are being done. This could be a result of non optimal code or bad DB structure. As with all optimization you first need to find the actual bottle necks and than to decide if you fix the code, or maybe just scrap the … Read more

Want to update value in database. But it says update() on null

Your verify.php files lives outside WordPress framework, so $wpdb and everything else is not available. Correct way is to use admin_post_ hook. You can read about it here. This goes in functions.php add_action( ‘admin_post_add_foobar’, ‘prefix_admin_add_foobar’ ); function prefix_admin_add_foobar() { //$wpdb->update() } And the form: <form action=”<?php echo esc_url(admin_url(‘admin-post.php’)); ?>” method=”post”> <input type=”hidden” name=”action” value=”add_foobar”> <input … Read more