Skip to content

Instantly share code, notes, and snippets.

View markyph's full-sized avatar

Mark Anthony Cayrel markyph

View GitHub Profile
@markyph
markyph / gist:860c3df71017f04a602f558d47a1cefc
Created August 24, 2023 17:10
PHP-Error.log for SimpleSAML
[24-Aug-2023 16:56:25 UTC] PHP Warning: Trying to access array offset on value of type null in /code/wp-config.php on line 16
[24-Aug-2023 16:56:37 UTC] PHP Warning: Undefined variable $url in /code/wp-config.php on line 16
[24-Aug-2023 16:56:37 UTC] PHP Warning: Trying to access array offset on value of type null in /code/wp-config.php on line 16
[24-Aug-2023 16:56:51 UTC] PHP Warning: Undefined variable $url in /code/wp-config.php on line 16
[24-Aug-2023 16:56:51 UTC] PHP Warning: Trying to access array offset on value of type null in /code/wp-config.php on line 16
[24-Aug-2023 16:56:54 UTC] PHP Warning: Undefined variable $url in /code/wp-config.php on line 16
[24-Aug-2023 16:56:54 UTC] PHP Warning: Trying to access array offset on value of type null in /code/wp-config.php on line 16
[24-Aug-2023 16:56:54 UTC] PHP Warning: Trying to access array offset on value of type null in /code/private/simplesamlphp-1.17.7/config/config.php on line 21
[24-Aug-2023 16:56:55 UTC] PHP Fatal error: Uncaught Error
[0x00007f6295217d00] get_col() /code/wp-includes/class-wp-query.php:3312
[0x00007f62952174c0] get_posts() /code/wp-includes/class-wp-query.php:3800
[0x00007f6295217450] query() /code/wp-includes/class-wp-query.php:3932
[0x00007f62952173e0] __construct() /code/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php:1009
[0x00007f6295217310] query() /code/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:224
[0x00007f6295217260] __call() /code/wp-content/plugins/woocommerce/includes/class-wc-order-query.php:87
[0x00007f62952171e0] get_orders() /code/wp-content/plugins/woocommerce/includes/wc-order-functions.php:69
[0x00007f6295217100] wc_get_orders() /code/wp-content/plugins/woocommerce/includes/wc-template-functions.php:3252
[0x00007f6295217050] woocommerce_account_orders() /code/wp-includes/class-wp-hook.php:310
[0x00007f6295216f70] apply_filters() /code/wp-includes/class-wp-hook.php:334
@markyph
markyph / gist:d74b2cec15d5f965a1b7f4aee1b03536
Created August 17, 2023 16:19
PHP.Slow.log for Lomont Molding
[0x00007f81fa816320] wp_get_object_terms() /code/wp-content/themes/lomont-molding-v3/woocommerce-quick-add-to-cart.php:63
[0x00007f81fa8161c0] [INCLUDE_OR_EVAL]() /code/wp-includes/template-loader.php:106
[0x00007f81fa816100] [INCLUDE_OR_EVAL]() /code/wp-blog-header.php:19
[0x00007f81fa816070] [INCLUDE_OR_EVAL]() /code/index.php:17
[17-Aug-2023 16:01:29] [pool www] pid 73
script_filename = /code//index.php
[0x00007f81fa816f70] mysqli_query() /code/wp-includes/class-wpdb.php:2431
[0x00007f81fa816f00] _do_query() /code/wp-includes/class-wpdb.php:2320
[0x00007f81fa816e20] query() /code/wp-includes/class-wpdb.php:3018
@markyph
markyph / PHP Slow Logs
Created June 9, 2023 18:10
Axis Slow Logs
[0x00007fc457816380] request() /code/vendor/guzzlehttp/guzzle/src/Client.php:95
[0x00007fc4578162b0] __call() /code/web/modules/custom/axis_orbis_api/src/AxisOrbis.php:70
[0x00007fc4578161d0] orbisMatch() /code/web/modules/custom/axis_supplier/src/Plugin/QueueWorker/SuppliersApiQueue.php:63
[0x00007fc457816010] processItem() /code/web/modules/custom/axis_cron_api/axis_cron_api.module:138
[0x00007fc457815f40] _axis_supplier_cron_worker() /code/web/modules/contrib/ultimate_cron/src/Entity/CronJob.php:325
[0x00007fc457815ed0] call_user_func() /code/web/modules/contrib/ultimate_cron/src/Entity/CronJob.php:325
[0x00007fc457815e60] invokeCallback() /code/web/modules/contrib/ultimate_cron/src/Entity/CronJob.php:471
[0x00007fc457815d80] run() /code/web/modules/custom/axis_rest/src/Controller/AxisController.php:24
[09-Jun-2023 17:56:03] [pool www] pid 1803
[25-Apr-2023 13:04:39] [pool www] pid 58
script_filename = /code//wp-admin/admin-ajax.php
[0x00007f6f28c15b00] curl_exec() /code/wp-includes/Requests/src/Transport/Curl.php:204
[0x00007f6f28c15a20] request() /code/wp-includes/Requests/src/Requests.php:469
[0x00007f6f28c15920] request() /code/wp-includes/class-wp-http.php:396
[0x00007f6f28c15790] request() /code/wp-includes/class-wp-http.php:634
[0x00007f6f28c156f0] get() /code/wp-includes/http.php:162
[0x00007f6f28c15660] wp_remote_get() /code/wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-prebuilt-library.php:414
[0x00007f6f28c155a0] get_remote_url_contents() /code/wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-prebuilt-library.php:351
[0x00007f6f28c15540] get_data() /code/wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-prebuilt-library.php:334
[0x00007f5010216a70] doDisplay() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/Template.php:405
[0x00007f50102169d0] displayWithErrorHandling() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/Template.php:378
[0x00007f5010216950] display() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/Environment.php(418) : eval()'d code:42
[0x00007f5010216850] doDisplay() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/Template.php:405
[0x00007f50102167b0] displayWithErrorHandling() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/Template.php:378
[0x00007f5010216730] display() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/Template.php:390
[0x00007f5010216680] render() /code/wp-content/themes/elegant-education/vendor/twig/twig/src/TemplateWrapper.php:45
[0x00007f5010216600] render() /code/wp-content/themes/elegant-education/vendor/timber/timber/lib/Loader.php:79
[16-Mar-2023 17:03:09] [pool www] pid 618
[12-Jan-2023 17:28:26] [pool www] pid 76
script_filename = /code//index.php
[0x00007f5e306188d0] get_instance() /code/wp-includes/post.php:1007
[0x00007f5e30618820] get_post() /code/wp-includes/post.php:6607
[0x00007f5e30618740] wp_get_attachment_url() /code/wp-includes/media.php:213
[0x00007f5e30618600] image_downsize() /code/wp-includes/media.php:954
[0x00007f5e306184f0] wp_get_attachment_image_src() /code/wp-includes/media.php:1029
[0x00007f5e30618320] wp_get_attachment_image() /code/wp-includes/post-thumbnail-template.php:202
[0x00007f5e30618260] get_the_post_thumbnail() /code/wp-includes/post-thumbnail-template.php:92
@markyph
markyph / gist:03dc22766998398a95ab36ee85eed5a5
Created January 10, 2023 17:25
Missing from the file system
Array and string offset access syntax with curly braces is deprecated[warning]
in include_once() (line 1464 of /code/includes/bootstrap.inc).
The following module is missing from the file system: <em [warning]
class="placeholder">ckeditor</em>. For information about how to fix
this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1206
The following module is missing from the file system: <em [warning]
class="placeholder">configurator</em>. For information about how to
fix this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1206
[20-Oct-2022 09:11:07 America/Toronto] Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginException: "Plugin (scs_ces_logo_block) instance class "Drupal\uftscs_business_paths\Plugin\Block\ScsCesLogoBlock" does not exist." at /code/web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php line 97
[20-Oct-2022 11:07:51 America/Toronto] Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginException: "Plugin (scs_ces_logo_block) instance class "Drupal\uftscs_business_paths\Plugin\Block\ScsCesLogoBlock" does not exist." at /code/web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php line 97
[20-Oct-2022 11:39:32 America/Toronto] Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginException: "Plugin (scs_ces_logo_block) instance class "Drupal\uftscs_business_paths\Plugin\Block\ScsCesLogoBlock" does not exist." at /code/web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php line 97
[20-Oct-2022 11:39:33 America/Toronto] Uncaught PHP Exception Drupal\Component\
@markyph
markyph / PHP Error Logs
Created October 17, 2022 14:25
PHP Error Logs
[16-Oct-2022 20:12:28 UTC] WordPress database error Table 'pantheon.wp_betterlinks' doesn't exist for query ALTER TABLE wp_betterlinks ADD favorite varchar(255) NOT NULL made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, BetterLinks->fix_betterlinks_db
[16-Oct-2022 20:12:36 UTC] WordPress database error Table 'pantheon.wp_betterlinks' doesn't exist for query SELECT * FROM wp_betterlinks WHERE short_url='contact' made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, BetterLinks\Link->run_redirect, BetterLinks\Link\Utils->get_slug_raw, BetterLinks\Helper::get_link_by_short_url
[16-Oct-2022 20:12:39 UTC] WordPress database error Table 'pantheon.wp_betterlinks' doesn't exist for query DESC wp_betterlinks made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, BetterLinks->fix_betterlinks_db
[16-Oct-2022 20:12:39 UTC] WordPress d