Conversation
supportPlugin Version 1.2.12 WordPress Version 5.1.1 With define(‘WP_DEBUG’, true) turned on the ONTRAport plugin is causing a PHP error. “Notice: Undefined index: post_type in wp-content/plugins/ontrapages/ONTRApage.php on line 233” The line in error can be found in the source at: https://plugins.trac.wordpress.org/browser/ontrapages/trunk/ONTRApage.php#L233
Thanks! We’ll take a look to see if we can update the code to deal with this notice. For others reading this, in general PHP notices and errors are not any cause for alarm . They often occur because the most recent version of PHP has changed some functions. Sometimes, the errors are unavoidable when making a plugin compatible with prior versions of PHP. Other times the fix won’t break prior versions of PHP, and we update the code in those instances.
Thanks! We’ll take a look to see if we can update the code to deal with this notice. For others reading this, in general PHP notices and errors are not any cause for alarm . They often occur because the most recent version of PHP has changed some functions. Sometimes, the errors are unavoidable when making a plugin compatible with prior versions of PHP. Other times the fix won’t break prior versions of PHP, and we update the code in those instances.