WordPress warning refers to WooCommerce at top single webpage only - wordpress

I get the following displayed at the top of this web page...
http://hippiechickoriginals.com/product-category/manifesto-mania/
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'woocommerce_price_filter' not found or invalid function name in /home/hippiech/public_html/wp-includes/plugin.php on line 214
Warning: array_unique() expects parameter 1 to be array, null given in /home/hippiech/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 370
Thank you again for your considerations.
Best regards,
Marc

Related

Warning: call_user_func_array() expects parameter 1

Still getting this error message in debug mode despite trying the following: manually deleting and replacing the wp-includes and wp-admin directories. Renamed the plugins directory, Updating the class-http.php file as per https://github.com/WordPress/WordPress/blob/master/wp-includes/class-http.php, imported a backup of sql tables (a couple of years old) in MYSQL
Deprecated: File class-http.php is deprecated since version 5.9.0! Use wp-includes/class-wp-http.php instead. in /home2/dvinegrindz/public_html/wpr/wp-includes/functions.php on line 5569
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_enable_block_templates' not found or invalid function name in /home2/dvinegrindz/public_html/wpr/wp-includes/class-wp-hook.php on line 307
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_schedule_https_detection' not found or invalid function name in /home2/dvinegrindz/public_html/wpr/wp-includes/class-wp-hook.php on line 307
Fatal error: Uncaught Error: Call to undefined function get_allowed_block_template_part_areas() in /home2/dvinegrindz/public_html/wpr/wp-includes/blocks/template-part.php:168 Stack trace: #0 /home2/dvinegrindz/public_html/wpr/wp-includes/blocks/template-part.php(194): build_template_part_block_variations() #1 /home2/dvinegrindz/public_html/wpr/wp-includes/class-wp-hook.php(307): register_block_core_template_part('') #2 /home2/dvinegrindz/public_html/wpr/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home2/dvinegrindz/public_html/wpr/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /home2/dvinegrindz/public_html/wpr/wp-settings.php(557): do_action('init') #5 /home2/dvinegrindz/public_html/wpr/wp-config.php(92): require_once('/home2/dvinegri...') #6 /home2/dvinegrindz/public_html/wpr/wp-load.php(50): require_once('/home2/dvinegri...') #7 /home2/dvinegrindz/public_html/wpr/wp-blog-header.php(13): require_once('/home2/dvinegri...') #8 /home2/dvinegrindz/public_html/index.php(17): require( in /home2/dvinegrindz/public_html/wpr/wp-includes/blocks/template-part.php on line 168
The message says that you point to class-http.php in your functions.php on line 5569.
class-http.php is deprecated so no longer supported and you have to replace it with wp-includes/class-wp-http.php
So look in your functions.php where you point to class-http.php (should be line 5569) and replace it ... point to the new file wp-includes/class-wp-http.php

Creating winword from ACUCOBOL using OLE object definitions

I'm pretty new to COBOL and programming and I'm having problems to create a word document from COBOL using ole object definitions.
I cant really find a good documentation for it, just some vba examples.
I got some stuff to work - creating the document, writing text, formatting the text.
Now I'm trying to add a header with an image to it - I found some vba code which I'm trying to translate:
With ActiveDocument.Sections(1).Headers _ .Item(wdHeaderFooterFirstPage).Range.InsertBefore "Sales Report"
I don't really understand it, because "headers" is not a property of sections, and also I never learned vba...
I'm using microfocus acubench 10.2.1
Current code:
working-storage section.
77 hFileSystemObject handle of FileSystemObject.
01 word-handles.
03 wrdApp handle of Application of word.
03 wrdDoc handle of Document of word.
03 sections handle of section of word.
03 myHeaderFooter handle of WdHeaderFooterIndex of word.
procedure division.
word-testing-section.
word-testing-010.
CREATE Application OF Word HANDLE IN WrdApp.
MODIFY WrdApp Documents::Add() GIVING wrdDoc.
MODIFY WrdApp #Visible = 1.
modify wrddoc #range = (0,100).
modify wrddoc #sections ::add() giving headersection.
modify wrddoc #sections(1)::#headers::
#item(wdHeaderFooterFirstPage)::#range::#insertbefore =
"Sales Report".
leads to:
D:\AcuReal\Source\testing2.cbl, line 52: Wrong number of parameters: 0 expected, 1 found
D:\AcuReal\Source\testing2.cbl, line 52: '#HEADERS' is not a property or method of 'CLASS #SECTIONS'
D:\AcuReal\Source\testing2.cbl, line 52: 'SECTIONS' must be a 'put' property or method of '#SECTIONS'
D:\AcuReal\Source\testing2.cbl, line 52: Undefined data item: #HEADERS
D:\AcuReal\Source\testing2.cbl, line 52: Verb expected, :: found
i also tried
modify WRDdoc #sections::#item(1)::
#headers::#item(#wdHeaderFooterPrimary)::#range::insertbefore"test".
D:\AcuReal\Source\testing2.cbl, line 60: Wrong number of parameters: 0 expected, 1 found
D:\AcuReal\Source\testing2.cbl, line 60: Wrong number of parameters: 0 expected, 1 found
and if i delete the parameters
D:\AcuReal\Source\testing2.cbl, line 58: Wrong number of parameters: 1 expected, 0 found
D:\AcuReal\Source\testing2.cbl, line 60: Wrong number of parameters: 1 expected, 0 found
Im pretty sure i have to use item twice with the wdHeaderFooterFirstPage parameter, but i have no idea why i get "wrong number of parameters"
Really frustrating
How can I create a word document from COBOL using ole object definitions?

Laravel : Type error: Argument 1 passed to Illuminate\Encryption\Encrypter::validMac() must be of the type array,

i am getting below error on laravel 5.5
Type error: Argument 1 passed to Illuminate\Encryption\Encrypter::validMac() must be of the type array, null given, called in C:\wamp64\www\projectx\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php on line 194
How can i solve this issue? plz help me.
It's working after composer update command.

Sales Order Confirmation Error

I am trying to confirm the sales order but I am getting error shown below. The environment is updated from CU1 to CU9 recently. I did Full Compilation and Full CIL and Incremental CIL with out errors. Can you please suggest what could be the issue?
Thanks in advance.
Error : Map object not initialized.
Stack trace
(S)\Classes\FormletterService\postJournal - line 52
(S)\Classes\FormletterService\run - line 221
(S)\Classes\FormletterService\postSalesOrderConfirmation - line 14
(S)\Classes\DictClass\callObject
(S)\Classes\SysOperationServiceController\runOperation - line 93
(S)\Classes\SysOperationServiceController\runServiceOperation - line 22
(S)\Classes\DictClass\callStatic
(S)\Classes\SysDictClass\invokeStaticMethod - line 26
(S)\Classes\SysDictClass\invokeStaticMethodIL - line 39
(S)\Classes\SysOperationRPCFrameworkService\runServiceOperation - line 5
(C)\Classes\SysOperationServiceController\runOperationWithRunAs - line 7
(C)\Classes\SysOperationServiceController\run - line 22
(C)\Classes\FormLetterServiceController\run - line 3
(C)\Classes\SalesFormLetter\run - line 95
(C)\Classes\SalesFormLetter\main - line 138
(C)\Classes\FormFunctionButtonControl\Clicked
The error is caused because the docuRefRecIdsPerJournalMap variable of class FormLetterService is not initialized. Debug method initDocuRefRecIdsPerJournalMap where this variable gets initialized and also method run where the initialization method gets called. You may also have to check classes that extend from FormLetterService and overwrite any of these methods or change the docuRefRecIdsPerJournalMap variable. Also check if you have any customizations on these classes.
Try to 'Compile forward' the base class FormletterService and afterwards do a full CIL compilation again
Hope that helps

Errors when loading ci-merchant library

I'm trying to use http://ci-merchant.org/ for CodeIgniter. But when I load the merchant library, I get these errors:
A PHP Error was encountered
Severity: Warning
Message: stripos() expects parameter 1 to be string, array given
Filename: libraries/merchant.php
Line Number: 97
A PHP Error was encountered
Severity: Warning
Message: strtolower() expects parameter 1 to be string, array given
Filename: libraries/merchant.php
Line Number: 103
Here is my code:
$this->load->library('merchant');
$this->merchant->load('paypal_express');
Looking at the source of that file, the driver name needs to be passed as a string. So I highly doubt the two lines of code you put above is actually what's being called, it looks like you are passing an array as the driver name.
If you aren't sure where it's coming from, try adding some debug_print_backtrace() lines to the merchant.php file to figure out where the array is getting passed from.

Resources