Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active June 3, 2025 04:19
Show Gist options
  • Save jasperf/5951b49aa24ae768e1c423b1f3920982 to your computer and use it in GitHub Desktop.
Save jasperf/5951b49aa24ae768e1c423b1f3920982 to your computer and use it in GitHub Desktop.
trx_adddons by Theme Rex https://themerex.net/ errors
domainnet@tb-xxxx-linssh059:/data/sites/web/domainnet/subsites/staging.domain.net# wp search-replace 'https://www.domain.net' 'https://staging.domain.net' --skip-columns=guid --dry-run
PHP Warning: Constant ABSPATH already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1334) : eval()'d code on line 66
Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>instagram-feed</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /data/sites/web/domainnet/subsites/staging.domain.net/wp-includes/functions.php on line 6114
Warning: Undefined array key "widgets_args" in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 114
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 260
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 261
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 262
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 263
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 260
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 261
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 262
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 263
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 260
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 261
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 262
Warning: Trying to access array offset on value of type null in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/widgets/widgets.php on line 263
Warning: Undefined array key "post_types" in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/includes/plugin.options.meta-box.php on line 34
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/includes/plugin.options.meta-box.php:34
Stack trace:
#0 /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/includes/plugin.options.meta-box.php(34): in_array()
#1 /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/components/cpt/layouts/layouts.php(78): trx_addons_meta_box_register()
#2 /data/sites/web/domainnet/subsites/staging.domain.net/wp-includes/class-wp-hook.php(324): trx_addons_cpt_layouts_init()
#3 /data/sites/web/domainnet/subsites/staging.domain.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /data/sites/web/domainnet/subsites/staging.domain.net/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /data/sites/web/domainnet/subsites/staging.domain.net/wp-settings.php(704): do_action()
#6 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1374): require('...')
#7 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1293): WP_CLI\Runner->load_wordpress()
#8 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#9 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(84): WP_CLI\Bootstrap\LaunchRunner->process()
#10 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(35): WP_CLI\bootstrap()
#11 phar:///usr/bin/wp/php/boot-phar.php(20): include('...')
#12 /usr/bin/wp(4): include('...')
#13 {main}
thrown in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/trx_addons/includes/plugin.options.meta-box.php on line 34
Error: Er heeft zich een kritieke fout voorgedaan op deze site.Lees verder over probleemoplossing in WordPress. Er heeft zich een kritieke fout voorgedaan op deze site.
@jasperf
Copy link
Author

jasperf commented Jun 3, 2025

Fatal error is

Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array,
 null given in /data/sites/web/domainnet/subsites/staging.domain.net/wp-content/plugins/
trx_addons/includes/plugin.options.meta-box.php:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment