Notice: require(): Read of 11910 bytes failed with errno=14 Bad address in /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce-services/vendor/jetpack-autoloader/class-php-autoloader.php on line 102
Notice: require(): Read of 7814 bytes failed with errno=14 Bad address in /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce-services/vendor/jetpack-autoloader/class-php-autoloader.php on line 102
Notice: require(): Read of 7814 bytes failed with errno=14 Bad address in /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce-services/vendor/jetpack-autoloader/class-php-autoloader.php on line 102
),
),
'image' => array(
'type' => 'string',
'description' => esc_html__( 'The URL of the image.', 'woocommerce' ),
'readonly' => true,
),
'icon' => array(
'type' => 'string',
'description' => esc_html__( 'The URL of the icon (square aspect ratio).', 'woocommerce' ),
'readonly' => true,
),
'links' => array(
'type' => 'array',
'context' => array( 'view', 'edit' ),
'readonly' => true,
'items' => array(
'type' => 'object',
'properties' => array(
'_type' => array(
'type' => 'string',
'description' => esc_html__( 'The type of the link.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'url' => array(
'type' => 'string',
'description' => esc_html__( 'The URL of the link.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
),
),
),
'_incentive' => $this->get_schema_for_incentive(),
'tags' => array(
'description' => esc_html__( 'The tags associated with the suggestion.', 'woocommerce' ),
'type' => 'array',
'uniqueItems' => true,
'context' => array( 'view', 'edit' ),
'readonly' => true,
'items' => array(
'type' => 'string',
'description' => esc_html__( 'The tags associated with the suggestion.', 'woocommerce' ),
'readonly' => true,
),
),
'category' => array(
'type' => 'string',
'description' => esc_html__( 'The category of the suggestion.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'_links' => array(
'type' => 'object',
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'attach' => array(
'type' => 'object',
'description' => esc_html__( 'The link to mark the suggestion as attached. This should be called when an extension is installed.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'href' => array(
'type' => 'string',
'description' => esc_html__( 'The URL to attach the suggestion.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
),
),
'hide' => array(
'type' => 'object',
'description' => esc_html__( 'The link to hide the suggestion.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'href' => array(
'type' => 'string',
'description' => esc_html__( 'The URL to hide the suggestion.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
),
),
),
),
),
);
}
/**
* Get the schema for an incentive.
*
* @return array The incentive schema.
*/
private function get_schema_for_incentive(): array {
return array(
'type' => 'object',
'description' => esc_html__( 'The active incentive for the provider.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'id' => array(
'type' => 'string',
'description' => esc_html__( 'The incentive unique ID. This ID needs to be used for incentive dismissals.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'promo_id' => array(
'type' => 'string',
'description' => esc_html__( 'The incentive promo ID. This ID need to be fed into the onboarding flow.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'title' => array(
'type' => 'string',
'description' => esc_html__( 'The incentive title. It can contain stylistic HTML.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'description' => array(
'type' => 'string',
'description' => esc_html__( 'The incentive description. It can contain stylistic HTML.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'short_description' => array(
'type' => 'string',
'description' => esc_html__( 'The short description of the incentive. It can contain stylistic HTML.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'cta_label' => array(
'type' => 'string',
'description' => esc_html__( 'The call to action label for the incentive.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'tc_url' => array(
'type' => 'string',
'description' => esc_html__( 'The URL to the terms and conditions for the incentive.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'badge' => array(
'type' => 'string',
'description' => esc_html__( 'The badge label for the incentive.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'_dismissals' => array(
'type' => 'array',
'description' => esc_html__( 'The dismissals list for the incentive. Each dismissal entry includes a context and a timestamp. The `all` entry means the incentive was dismissed for all contexts.', 'woocommerce' ),
'uniqueItems' => true,
'context' => array( 'view', 'edit' ),
'readonly' => true,
'items' => array(
'type' => 'object',
'properties' => array(
'context' => array(
'type' => 'string',
'description' => esc_html__( 'Context ID in which the incentive was dismissed.', 'woocommerce' ),
'readonly' => true,
),
'timestamp' => array(
'type' => 'integer',
'description' => esc_html__( 'Unix timestamp representing when the incentive was dismissed.', 'woocommerce' ),
'readonly' => true,
),
),
),
),
'_links' => array(
'type' => 'object',
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'dismiss' => array(
'type' => 'object',
'description' => esc_html__( 'The link to dismiss the incentive.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'href' => array(
'type' => 'string',
'description' => esc_html__( 'The URL to dismiss the incentive.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
),
),
'onboard' => array(
'type' => 'object',
'description' => esc_html__( 'The start/continue onboarding link for the payment gateway.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
'properties' => array(
'href' => array(
'type' => 'string',
'description' => esc_html__( 'The URL to start/continue onboarding for the payment gateway.', 'woocommerce' ),
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
),
),
),
),
),
);
}
}
Fatal error: Uncaught Automattic\WooCommerce\Internal\DependencyManagement\ContainerException: Attempt to get an instance of class 'Automattic\WooCommerce\Internal\Admin\Settings\PaymentsRestController', which doesn't exist. in /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php:105
Stack trace:
#0 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(78): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get_core('Automattic\\WooC...', Array)
#1 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/src/Container.php(68): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get('Automattic\\WooC...')
#2 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(405): Automattic\WooCommerce\Container->get('Automattic\\WooC...')
#3 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(264): WooCommerce->init_hooks()
#4 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(165): WooCommerce->__construct()
#5 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/woocommerce.php(47): WooCommerce::instance()
#6 /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/woocommerce.php(62): WC()
#7 /home/primeinf/launiformsllc.com/wp-settings.php(597): include_once('/home/primeinf/...')
#8 /home/primeinf/launiformsllc.com/wp-config.php(105): require_once('/home/primeinf/...')
#9 /home/primeinf/launiformsllc.com/wp-load.php(50): require_once('/home/primeinf/...')
#10 /home/primeinf/launiformsllc.com/wp-blog-header.php(13): require_once('/home/primeinf/...')
#11 /home/primeinf/launiformsllc.com/index.php(17): require('/home/primeinf/...')
#12 {main}
thrown in /home/primeinf/launiformsllc.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php on line 105
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce 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 init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/primeinf/launiformsllc.com/wp-includes/functions.php on line 6260