An error of type E_ERROR was caused in line 29 of the file /home2/desigjnm/public_html/wp-content/themes/construction/inc/woo-config.php. Error message: Uncaught Error: Call to undefined function create_function() in /home2/desigjnm/public_html/wp-content/themes/construction/inc/woo-config.php:29 Stack trace: #0 /home2/desigjnm/public_html/wp-content/themes/construction/functions.php(292): require() #1 /home2/desigjnm/public_html/wp-settings.php(546): include('/home2/desigjnm...') #2 /home2/desigjnm/public_html/wp-config.php(101): require_once('/home2/desigjnm...') #3 /home2/desigjnm/public_html/wp-load.php(50): require_once('/home2/desigjnm...') #4 /home2/desigjnm/public_html/wp-admin/admin.php(34): require_once('/home2/desigjnm...') #5 /home2/desigjnm/public_html/wp-admin/index.php(10): require_once('/home2/desigjnm...') #6 {main} thrown
Line 29 in woo-config.php is
add_filter( 'loop_shop_per_page', create_function( '$number', 'return 12;' ), 20 );