Preheat oven to 350 degrees F. Grease an 8 by 8-inch pan.
In a medium bowl combine the flour, oats, 1/4 cup sugar, 1/4 cup brown sugar, soda, and salt. Add the butter and with a fork mix until the mixture is crumbly.
Reserve 1 cup of the mixture for the topping.
Add the rest of the crust ingredients into the prepared pan and press into the bottom of the pan.
Place in the preheated oven and bake for 10 minutes.
While the crust is baking prepare the cream cheese filling Add the cream cheese and beat , add the sugar, and beat in. Add the egg and vanilla and beat in.
While the crust is baking prepare the pear. Combine the chopped pears with the 1 tablespoon flour, 2 tablespoon sugar, and cinnamon.
Remove the pan from the oven with the crust after it is done baking 10 minutes. Spread the cream cheese mixture over the crust. Top with the pear mixture. Combine the reserved crust with the chopped pecans and crumble over the top of the pear mixture.
Place the bars back into the oven and bake for another 30 minutes.
Remove from the oven and cool on a cooling rack. Cut into bars and serve.