Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php 7.3 compact() notice error #5266

Closed
justaguy84 opened this issue Jan 9, 2019 · 5 comments
Closed

php 7.3 compact() notice error #5266

justaguy84 opened this issue Jan 9, 2019 · 5 comments
Assignees
Labels
Status: In Progress Issue or PR is currently in progress but not yet done Status: Reproduced Type: Bug
Milestone

Comments

@justaguy84
Copy link

Issue Overview

A notice error is being seen after updating php to version 7.3

Expected Behavior

I'm using pods and fetch functions on the layout and there is a new notice about an undefined variable.

Current Behavior

It's not a bug as it's just a notice, but I think this should be resolved as more and more are using php 7.3
pods-php-7 3 notice

Steps to Reproduce (for bugs)

  1. just update from php 7.2 to php 7.3

WordPress Environment

``` WordPress Version: 5.0.2

PHP Version: 7.3.0-2+ubuntu16.04.1+deb.sury.org+1

MySQL Version: 5.5.5

Server Software: nginx/1.15.7

Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Session Save Path: /var/lib/php/sessions

Session Save Path Exists: No

Session Save Path Writeable: No

Session Max Lifetime: 1440

Opcode Cache:

Apc: Yes
Memcached: No
OPcache: Yes
Redis: No
Object Cache:

APC: Yes
APCu: Yes
Memcache: No
Memcached: Yes
Redis: Yes
WPDB Prefix: wp_

WP Multisite Mode: No

WP Memory Limit: 40M

Current Memory Usage: 21.975M

Current Memory Usage (real): 6.000M

Pods Network-Wide Activated: No

Pods Install Location: /public/wp-content/plugins/pods/

Pods Tableless Mode Activated: No

Pods Light Mode Activated: No

Currently Active Theme: Rehub child theme

Currently Active Plugins:

BJ Lazy Load: 1.0.9
Classic Editor: 1.3
Coming Soon Page & Maintenance Mode by SeedProd: 5.0.23
Enable Media Replace: 3.2.7
Envato Market: 2.0.1
HappyForms: 1.6.17
Imagify: 1.8.4.1
Intuitive Custom Post Order: 3.1.1
Pods - Custom Content Types and Fields: 2.7.12
Query Monitor: 3.2.2
ThirstyAffiliates: 3.6
Transients Manager: 1.7.5
Widget Options: 3.7.2
WPBakery Page Builder: 5.6
Yoast SEO: 9.4

</details>

## Pods Package Export (helpful!)
<!-- Please include the Pods Package Export as it will be helpful in reproducing your issues. -->
<!-- To access: Pods Admin, Components, Migrate: Packages, Enable. -->
<!-- Then Pods Admin, Migrate: Packages, Export and Copy and Paste the JSON here OR -->
<!-- Save to a text file and upload to this bug report -->

{"meta":{"version":"2.7.12","build":1547042922},"pods":{"144":{"id":144,"name":"casino_games","label":"Casino Games","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"casinos":{"id":166,"name":"casinos","label":"Casinos","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"post","sister_id":"147","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"intro":{"id":740,"name":"intro","label":"Intro","description":"text to be displayed on top of page before content and casinos","help":"","class":"","type":"wysiwyg","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","wysiwyg_editor":"tinymce","wysiwyg_media_buttons":"1","wysiwyg_oembed":"0","wysiwyg_wptexturize":"1","wysiwyg_convert_chars":"1","wysiwyg_wpautop":"1","wysiwyg_allow_shortcode":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","wysiwyg_repeatable":"0","wysiwyg_allowed_html_tags":""}},"show_in_menu":"1","label_singular":"Casino Game","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"casino_game","capability_type_extra":"1","has_archive":"0","hierarchical":"1","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"1","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_blog_category":"0","built_in_taxonomies_blog_tag":"0","built_in_taxonomies_category":"0","built_in_taxonomies_dealstore":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_thirstylink-category":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_single":"HomePage - Top Casinos","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","menu_icon":"dashicons-sos","menu_position":"6"},"145":{"id":145,"name":"casino_platform","label":"Casino Platforms","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"casinos":{"id":165,"name":"casinos","label":"Casinos","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"post","sister_id":"146","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"intro":{"id":739,"name":"intro","label":"Intro","description":"text to be displayed on top of page before content and casinos","help":"","class":"","type":"wysiwyg","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","wysiwyg_editor":"tinymce","wysiwyg_media_buttons":"1","wysiwyg_oembed":"0","wysiwyg_wptexturize":"1","wysiwyg_convert_chars":"1","wysiwyg_wpautop":"1","wysiwyg_allow_shortcode":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","wysiwyg_repeatable":"0","wysiwyg_allowed_html_tags":""}},"show_in_menu":"0","label_singular":"Casino Platform","public":"1","show_ui":"0","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"casino_platform","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"1","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_blog_category":"0","built_in_taxonomies_blog_tag":"0","built_in_taxonomies_category":"0","built_in_taxonomies_dealstore":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_thirstylink-category":"0","show_in_nav_menus":"0","show_in_admin_bar":"0","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_single":"HomePage - Top Casinos","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","menu_icon":"dashicons-dashboard"},"304":{"id":304,"name":"casino_softwares","label":"Casino Softwares","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"casino":{"id":305,"name":"casino","label":"Casino","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"post","sister_id":"306","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"intro":{"id":738,"name":"intro","label":"Intro","description":"text to be displayed on top of page before content and casinos","help":"","class":"","type":"wysiwyg","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","wysiwyg_editor":"tinymce","wysiwyg_media_buttons":"1","wysiwyg_oembed":"0","wysiwyg_wptexturize":"1","wysiwyg_convert_chars":"1","wysiwyg_wpautop":"1","wysiwyg_allow_shortcode":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","wysiwyg_repeatable":"0","wysiwyg_allowed_html_tags":""}},"show_in_menu":"1","label_singular":"Software","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"casino_softwares","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"1","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_blog_category":"0","built_in_taxonomies_blog_tag":"0","built_in_taxonomies_category":"0","built_in_taxonomies_dealstore":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_thirstylink-category":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_single":"HomePage - Top Casinos","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","menu_icon":"dashicons-dashboard"},"140":{"id":140,"name":"operating_systems","label":"Operating Systems","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"casinos":{"id":164,"name":"casinos","label":"Casinos","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"post","sister_id":"143","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"intro":{"id":737,"name":"intro","label":"Intro","description":"text to be displayed on top of page before content and casinos","help":"","class":"","type":"wysiwyg","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","wysiwyg_editor":"tinymce","wysiwyg_media_buttons":"1","wysiwyg_oembed":"0","wysiwyg_wptexturize":"1","wysiwyg_convert_chars":"1","wysiwyg_wpautop":"1","wysiwyg_allow_shortcode":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","wysiwyg_repeatable":"0","wysiwyg_allowed_html_tags":""}},"show_in_menu":"1","label_singular":"Operating System","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"operation_system","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"1","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_blog_category":"0","built_in_taxonomies_blog_tag":"0","built_in_taxonomies_category":"0","built_in_taxonomies_dealstore":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_thirstylink-category":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_single":"HomePage - Top Casinos","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","menu_icon":"dashicons-desktop"},"74":{"id":74,"name":"payment_methods","label":"Payment Methods","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"casinos":{"id":163,"name":"casinos","label":"Casinos","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"post","sister_id":"142","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"intro":{"id":463,"name":"intro","label":"Intro","description":"text to be displayed on top of page before content and casinos","help":"","class":"","type":"wysiwyg","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","wysiwyg_editor":"tinymce","wysiwyg_media_buttons":"1","wysiwyg_oembed":"0","wysiwyg_wptexturize":"1","wysiwyg_convert_chars":"1","wysiwyg_wpautop":"1","wysiwyg_allow_shortcode":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","wysiwyg_repeatable":"0","wysiwyg_allowed_html_tags":""}},"show_in_menu":"1","label_singular":"Payment Method","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"payment_methods","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"1","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_blog_category":"0","built_in_taxonomies_blog_tag":"0","built_in_taxonomies_category":"0","built_in_taxonomies_dealstore":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_thirstylink-category":"0","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0","pfat_single":"HomePage - Top Casinos","menu_icon":"dashicons-cart"},"141":{"id":141,"name":"post","label":"Post","description":"","type":"post_type","storage":"meta","object":"post","alias":"","fields":{"bonuses":{"id":326,"name":"bonuses","label":"Bonuses","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"post_type","pick_val":"thirstylink","sister_id":"335","required":"1","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"payment_methods":{"id":142,"name":"payment_methods","label":"Payment Methods","description":"","help":"","class":"","type":"pick","weight":1,"pick_object":"post_type","pick_val":"payment_methods","sister_id":"163","required":"1","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"operating_systems":{"id":143,"name":"operating_systems","label":"Operating Systems","description":"","help":"","class":"","type":"pick","weight":2,"pick_object":"post_type","pick_val":"operating_systems","sister_id":"164","required":"1","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"casino_software":{"id":306,"name":"casino_software","label":"Casino Software","description":"","help":"","class":"","type":"pick","weight":3,"pick_object":"post_type","pick_val":"casino_softwares","sister_id":"305","required":"1","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"casino_games":{"id":147,"name":"casino_games","label":"Casino Games","description":"","help":"","class":"","type":"pick","weight":4,"pick_object":"post_type","pick_val":"casino_games","sister_id":"166","required":"0","pick_format_type":"multi","pick_format_single":"dropdown","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_where":"post_parent = 0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_orderby":"","pick_groupby":""},"website_url":{"id":223,"name":"website_url","label":"Website URL","description":"website URL","help":"","class":"","type":"website","weight":5,"pick_object":"","pick_val":"","sister_id":"","required":"1","website_format":"no-www","website_allow_port":"0","website_clickable":"0","website_new_window":"1","website_max_length":"255","website_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","website_repeatable":"0","website_placeholder":""},"main_bonus":{"id":236,"name":"main_bonus","label":"Main Bonus","description":"","help":"","class":"","type":"pick","weight":6,"pick_object":"post_type","pick_val":"thirstylink","sister_id":"","required":"1","pick_format_type":"single","pick_format_single":"list","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"established_date":{"id":224,"name":"established_date","label":"Established Date","description":"","help":"","class":"","type":"date","weight":7,"pick_object":"","pick_val":"","sister_id":"","required":"1","date_type":"format","date_format":"y","date_allow_empty":"1","date_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","date_repeatable":"0","date_format_custom":"","date_format_custom_js":""},"minimum_deposit":{"id":225,"name":"minimum_deposit","label":"Minimum Deposit","description":"","help":"","class":"","type":"text","weight":8,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"withdrawal_times":{"id":226,"name":"withdrawal_times","label":"Withdrawal Times","description":"","help":"","class":"","type":"text","weight":9,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"withdrawal_limits":{"id":233,"name":"withdrawal_limits","label":"Withdrawal Limits","description":"","help":"","class":"","type":"text","weight":10,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"languages":{"id":227,"name":"languages","label":"Languages","description":"","help":"","class":"","type":"text","weight":11,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"currencies":{"id":228,"name":"currencies","label":"Currencies","description":"","help":"","class":"","type":"text","weight":12,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"email":{"id":229,"name":"email","label":"Email","description":"","help":"","class":"","type":"email","weight":13,"pick_object":"","pick_val":"","sister_id":"","required":"1","email_max_length":"255","email_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","email_repeatable":"0","email_placeholder":""},"telephone":{"id":230,"name":"telephone","label":"Telephone","description":"","help":"","class":"","type":"phone","weight":14,"pick_object":"","pick_val":"","sister_id":"","required":"1","phone_format":"international","phone_enable_phone_extension":"0","phone_max_length":"25","phone_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","phone_repeatable":"0","phone_placeholder":""},"license":{"id":231,"name":"license","label":"License","description":"","help":"","class":"","type":"text","weight":15,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"live_chat":{"id":232,"name":"live_chat","label":"Live Chat","description":"","help":"","class":"","type":"boolean","weight":16,"pick_object":"","pick_val":"","sister_id":"","required":"0","pick_post_status":["publish"],"boolean_format_type":"checkbox","boolean_yes_label":"Yes","boolean_no_label":"No","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0"},"casino_platforms":{"id":146,"name":"casino_platforms","label":"Casino Platforms","description":"","help":"","class":"","type":"pick","weight":17,"pick_object":"post_type","pick_val":"casino_platform","sister_id":"165","required":"0","pick_format_type":"single","pick_format_single":"list","pick_format_multi":"list","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"1","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""},"editor_score":{"id":574,"name":"editor_score","label":"Editor Score","description":"","help":"","class":"","type":"number","weight":18,"pick_object":"","pick_val":"","sister_id":"","required":"1","number_format_type":"slider","number_format":"i18n","number_decimals":"1","number_format_soft":"0","number_step":"0.1","number_min":"0","number_max":"10","number_max_length":"12","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","number_repeatable":"0","number_placeholder":""},"casino_pros":{"id":575,"name":"casino_pros","label":"Casino Pros","description":"","help":"","class":"","type":"paragraph","weight":19,"pick_object":"","pick_val":"","sister_id":"","required":"1","paragraph_allow_html":"0","paragraph_oembed":"0","paragraph_wptexturize":"1","paragraph_convert_chars":"1","paragraph_wpautop":"1","paragraph_allow_shortcode":"0","paragraph_allowed_html_tags":"strong em a ul ol li b i","paragraph_max_length":"-1","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","paragraph_repeatable":"0","paragraph_placeholder":""},"casino_badge":{"id":743,"name":"casino_badge","label":"Casino Badge","description":"Select Casino Badge","help":"","class":"","type":"pick","weight":20,"pick_object":"custom-simple","pick_val":"","sister_id":"","pick_custom":"null|None\nEditor Choice\nMost Trusted\nMost Popular\nPlayers Choice\nTop New Casino\nBest Pokies\nTop Games\nBest Sportsbook","required":"1","pick_format_type":"single","pick_format_single":"radio","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""}},"show_in_menu":1,"pfat_enable":"0","pfat_run_outside_loop":"0","pfat_single":"HomePage - Top Casinos","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0"},"334":{"id":334,"name":"thirstylink","label":"Thirstylink","description":"","type":"post_type","storage":"meta","object":"thirstylink","alias":"","fields":{"bonus_description":{"id":339,"name":"bonus_description","label":"Bonus Description","description":"","help":"","class":"","type":"text","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"short_description":{"id":337,"name":"short_description","label":"Short Description","description":"","help":"","class":"","type":"text","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","text_allow_shortcode":"0","text_allow_html":"1","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"button_text":{"id":336,"name":"button_text","label":"Button Text","description":"","help":"","class":"","type":"text","weight":2,"pick_object":"","pick_val":"","sister_id":"","required":"1","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"default_value":"Claim Bonus","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"coupon_code":{"id":341,"name":"coupon_code","label":"Coupon Code","description":"","help":"","class":"","type":"text","weight":3,"pick_object":"","pick_val":"","sister_id":"","required":"0","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""},"expiration_date":{"id":696,"name":"expiration_date","label":"Expiration Date","description":"Bonus expiration date","help":"","class":"","type":"date","weight":4,"pick_object":"","pick_val":"","sister_id":"","required":"0","date_type":"format","date_format":"mdy","date_allow_empty":"1","date_html5":"0","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","date_repeatable":"0","date_format_custom":"","date_format_custom_js":""},"link_to_tc":{"id":340,"name":"link_to_tc","label":"Link to Bonus T&C","description":"","help":"","class":"","type":"website","weight":5,"pick_object":"","pick_val":"","sister_id":"","required":"0","website_format":"normal","website_allow_port":"0","website_clickable":"0","website_new_window":"0","website_max_length":"255","website_html5":"1","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","website_repeatable":"0","website_placeholder":""},"hide":{"id":1105,"name":"hide","label":"Hide","description":"","help":"","class":"","type":"boolean","weight":6,"pick_object":"","pick_val":"","sister_id":"","required":"0","pick_post_status":["publish"],"boolean_format_type":"checkbox","boolean_yes_label":"Yes","boolean_no_label":"No","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","default_value":"0"},"casino":{"id":335,"name":"casino","label":"Casino","description":"","help":"","class":"","type":"pick","weight":7,"pick_object":"post_type","pick_val":"post","sister_id":"326","required":"0","pick_format_type":"single","pick_format_single":"list","pick_format_multi":"checkbox","pick_allow_add_new":"1","pick_taggable":"0","pick_show_icon":"1","pick_show_edit_link":"1","pick_show_view_link":"1","pick_limit":"0","pick_user_role":[],"pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"0","rest_write":"0","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""}},"show_in_menu":1,"pfat_enable":"0","pfat_run_outside_loop":"0","pfat_single":"Casino Top offers","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"0","read_all":"0","write_all":"0"}},"templates":{"HomePage - Top Casinos":{"id":539,"name":"HomePage - Top Casinos","code":"[if main_bonus]\r\n\t<div class="casino card rehub_feat_block">\r\n <div class="offer_thumb"> \r\n <a class="re_track_btn thirstylinkimg" href="/go/{@main_bonus.post_name}" target="_blank" rel="nofollow" title="{@post_title}" data-linkid="{@id}" data-nojs="false">\r\n <img src="{@post_thumbnail_url.small}" height="92" alt="{@post_title}">\r\n </a>\r\n </div>\r\n <div class="offer_text">\r\n <h5 class="casino-name">{@post_title}</h5>\r\n <span class="stars-rate">\r\n <span style="width:{@editor_score}%"></span>\r\n </span>\r\n <span class="casino-score">{@editor_score}</span>\r\n \r\n <div class="pros">\r\n <ul class="pros-list rh-flex-eq-height"> \r\n

  • {@casino_pros}</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="offer_button">\r\n <a class="review-link" href="{@ParmaLink}">Read Review</a>\r\n <div class="mobile_block_btnclock">\r\n <a href="/go/{@main_bonus.post_name}" data-product_id="{@id}" class="wpsm-button medium rehub_main_btn re_track_btn woo_loop_btn btn_offer_block product_type_external thirstylink" target="_blank" rel="nofollow" title="{@post_title}>" data-linkid="{@id}" data-nojs="false">{@main_bonus.button_text}</a>\r\n </div>\r\n </div>\r\n </div>\r\n[else]\r\n

    There are no Casinos</p>\r\n[/if]","type":"template","slug":"homepage-top-casinos","options":{"_edit_lock":"1543575687:1","_edit_last":"1","_wpb_vc_js_status":"false","admin_only":"","restrict_capability":"","capability_allowed":"","pod_reference":"a:1:{s:3:"pod";s:4:"post";}"}},"HomePage - Top Offers":{"id":544,"name":"HomePage - Top Offers","code":"[if post_name]\r\n\t\t<div class="bonus card rehub_feat_block">\r\n\t\t\t<div class="offer_thumb"> \r\n\t\t\t\t<a class="re_track_btn thirstylinkimg" href="/go/{@post_name}" target="_blank" rel="nofollow" title="{@post_title}" data-linkid="{@id}" data-nojs="false">\r\n\t\t\t\t<img src="{@post_thumbnail_url.small}" height="92" alt="{@post_title}">\r\n\t\t\t</a>\r\n\t\t</div>\r\n\t\t<div class="offer_text">\r\n\t\t\t<div class="short_description">\r\n \t<h3 class="font110 mb10 mt0 mobfont110 moblineheight20 ">\r\n\t\t\t\t\t<a class="re_track_btn thirstylink" href="/go/{@post_name}" target="_blank" rel="nofollow" title="{@post_title}" data-linkid="{@id}" data-nojs="false">{@short_description}</a>\r\n\t\t\t\t</h3>\r\n\t\t\t</div>\r\n\t\t<div class="bonus_text">{@bonus_description}</div>\r\n\t\t</div>\r\n\t\t<div class="offer_button">\r\n\t\t\t<div class="mobile_block_btnclock">\r\n\t\t\t\t<a href="/go/{@post_name}" data-product_id="{@id}" class="wpsm-button medium rehub_main_btn re_track_btn woo_loop_btn btn_offer_block product_type_external thirstylink" target="_blank" rel="nofollow" title="{@post_title}" data-linkid="{@id}" data-nojs="false">{@button_text}</a>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n[else]\r\n\t

    no bonuses </p>\r\n[/if]","type":"template","slug":"homepage-top-offers","options":{"_edit_lock":"1543488935:1","_edit_last":"1","_wpb_vc_js_status":"false","admin_only":"","restrict_capability":"","capability_allowed":"","pod_reference":"a:1:{s:3:"pod";s:11:"thirstylink";}"}},"HomePage - Services Icons":{"id":550,"name":"HomePage - Services Icons","code":"<div class="service">\r\n\t<a href="{@permalink}">\r\n\t\t<div class="thumbnail">\r\n\t\t\t[if post_thumbnail]\r\n\t\t\t\t<img height="45px" src="{@post_thumbnail_url}">\r\n\t\t\t[else]\r\n\t\t \t<p class"no-images">No image</p>\r\n\t \t[/if]\r\n\t\t</div>\r\n\t</a>\r\n\t<span id="bubble" class="bubble">{@post_title}</span>\r\n</div>","type":"template","slug":"homepage-services-icons","options":{"_edit_lock":"1544362734:1","_edit_last":"1","_wpb_vc_js_status":"false","admin_only":"","restrict_capability":"","capability_allowed":"","pod_reference":"a:1:{s:3:"pod";s:15:"payment_methods";}"}},"Casino Review - Casino Info - Backup":{"id":1342,"name":"Casino Review - Casino Info - Backup","code":"<div class="casino-info">\r\n[wpsm_tabgroup]\r\n[wpsm_tab title="Available Games"]\r\n<div class="casino-games">\r\n [if casino_games]\r\n [each casino_games]\r\n\t\t\t\t<div class="game">\r\n\t\t\t\t\t<a href="{@permalink}">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't have any games</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n\t\r\n[wpsm_tab title="Main Info"]\r\n<div class="main-info">\r\n<div class="row website"><div class="label">Website:</div><div class="value"> <a href="/go/{@main_bonus.post_name}" rel="nofollow" target="_blank">{@website_url}</a></div></div>\r\n<div class="row email"><div class="label">Email:</div><div class="value"> <a href="mailto:{@email}">{@email}</a></div></div>\r\n<div class="row telephone"><div class="label">Telephone:</div><div class="value"> {@telephone}</div></div>\r\n<div class="row established_date"><div class="label">Established Date:</div><div class="value"> {@established_date}</div></div>\r\n<div class="row languages"><div class="label">Languages:</div><div class="value"> {@languages}</div></div>\r\n\r\n<div class="row license"><div class="label">License:</div><div class="value"> {@license}</div></div>\r\n<div class="row live_chat"><div class="label">Live Chat:</div><div class="value"> {@live_chat}</div></div>\r\n\t<div class="row currencies"><div class="label">Currencies:</div><div class="value"> {@currencies}</div></div>\r\n\t<div class="row minimum_deposit"><div class="label">Minimum Deposit:</div><div class="value"> {@minimum_deposit}</div></div>\r\n<div class="row withdrawal_times"><div class="label">Withdrawal Times:</div><div class="value"> {@withdrawal_times}</div></div>\r\n<div class="row withdrawal_limits"><div class="label">Withdrawal Limits:</div><div class="value"> {@withdrawal_limits}</div></div>\r\n</div>\r\n[/wpsm_tab]\r\n\r\n[wpsm_tab title="Payment Methods"]\r\n<div class="payment-methods">\r\n [if payment_methods]\r\n [each payment_methods]\r\n\t\t\t\t<div class="payment">\r\n\t\t\t\t\t<a href="{@permalink}">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't have payment options</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n\r\n[wpsm_tab title="Operating Systems"]\r\n<div class="operating-systems">\r\n [if operating_systems]\r\n [each operating_systems]\r\n\t\t\t\t<div class="system">\r\n\t\t\t\t\t<a href="{@permalink}">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't support any operation system</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n\r\n[wpsm_tab title="Software"]\r\n<div class="casino-software">\r\n [if casino_software]\r\n [each casino_software]\r\n\t\t\t\t<div class="software">\r\n\t\t\t\t\t<a href="{@permalink}">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't use any casino software</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n[/wpsm_tabgroup]\r\n\r\n</div>","type":"template","slug":"casino-review-casino-info-backup","options":{"_edit_lock":"1546809442:1","_edit_last":"1","pod_reference":"a:1:{s:3:"pod";s:0:"";}","admin_only":"","restrict_capability":"","capability_allowed":""}},"Casino Top offers":{"id":323,"name":"Casino Top offers","code":"[if bonuses]\r\n\t[each bonuses]\r\n\t\t<div class="bonus">\r\n\t\t\t<a href="{@permalink}">\r\n\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t<img height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t</div>\r\n\t\t\t\t

    {@post_title}</p>\r\n\t\t\t</a>\r\n\t\t</div>\r\n [/each]\r\n[else]\r\n

    This casino doesn't have any bonuses</p>\r\n[/if]","type":"template","slug":"casino-top-offers","options":{"_edit_lock":"1545824547:1","_edit_last":"1","admin_only":"","restrict_capability":"","capability_allowed":"","pod_reference":"a:1:{s:3:"pod";s:4:"post";}"}},"Widget - Top Casinos":{"id":388,"name":"Widget - Top Casinos","code":"<div class="casino">\r\n\t<a href="{@permalink}" class="casino-review-link" rel="nofollow">\r\n\t<div class="offer_thumb">\r\n\t[if post_thumbnail]\r\n\t\t<img height="45px" src="{@post_thumbnail_url.small}">\r\n [else]\r\n\t\t<p class"no-images">No image</p>\r\n [/if]\r\n\t</div>\r\n\t<div class="casino-name">{@post_title}</div>\r\n\t\t</a>\r\n\t<div class="offer_button">\r\n\t\t<a href="/go/{@main_bonus.post_name}" class="wpsm-button small rehub_main_btn" rel="nofollow" target="_blank">Play Now</a>\r\n\t</div>\r\n</div>","type":"template","slug":"top-casinos","options":{"_edit_lock":"1543746132:1","_edit_last":"1","admin_only":"","restrict_capability":"","capability_allowed":"","_wpb_vc_js_status":"false","pod_reference":"a:1:{s:3:"pod";s:4:"post";}"}},"Content - Casino Main Offer":{"id":423,"name":"Content - Casino Main Offer","code":"<div class="main-offer rehub_feat_block table_view_block quick-offer-block">\r\n\t<div class="offer_thumb">\r\n\t\t<a href="/go/{@main_bonus.post_name}" target="_blank" rel="nofollow" class="re_track_btn">\r\n\t\t\t<img class="lazyimages" data-src="{@main_bonus.post_thumbnail_url.small}" width="123" height="90" alt="{@post_title}" src="{@main_bonus.post_thumbnail_url.small}" style="opacity: 1;">\r\n\t\t</a>\r\n\t</div>\r\n\t<div class="desc_col">\r\n\t\t<div class="offer_title">{@main_bonus.bonus_description}</div>\r\n\t\t

    {@main_bonus.short_description}</p>\r\n\t</div>\r\n\t<div class="buttons_col">\r\n\t\t<div class="priced_block clearfix">\r\n\t\t\t

    \r\n\t\t\t\t<a href="/go/{@main_bonus.post_name}" class="re_track_btn btn_offer_block" target="_blank" rel="nofollow">{@main_bonus.button_text}</a>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>","type":"template","slug":"casino-main-offer","options":{"_edit_lock":"1543483401:1","_edit_last":"1","admin_only":"","restrict_capability":"","capability_allowed":"","_wpb_vc_js_status":"false","pod_reference":"a:1:{s:3:"pod";s:4:"post";}"}},"Content - Single Bonus":{"id":432,"name":"Content - Single Bonus","code":"<div class="main-offer rehub_feat_block table_view_block quick-offer-block">\r\n\t<div class="offer_thumb">\r\n\t\t<a href="/go/{@post_name}" target="_blank" rel="nofollow" class="re_track_btn">\r\n\t\t\t<img class="lazyimages" data-src="{@post_thumbnail_url.small}" width="123" height="90" alt="{@post_title}" src="{@post_thumbnail_url.small}" style="opacity: 1;">\r\n\t\t</a>\r\n\t</div>\r\n\t<div class="desc_col">\r\n\t\t<div class="offer_title">{@bonus_description}</div>\r\n\t\t

    {@short_description}</p>\r\n\t</div>\r\n\t<div class="buttons_col">\r\n\t\t<div class="priced_block clearfix">\r\n\t\t\t

    \r\n\t\t\t\t<a href="/go/{@post_name}" class="re_track_btn btn_offer_block" target="_blank" rel="nofollow">{@button_text}</a>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>","type":"template","slug":"single-bonus","options":{"_edit_lock":"1544207393:1","_edit_last":"1","admin_only":"","restrict_capability":"","capability_allowed":"","_wpb_vc_js_status":"false","pod_reference":"a:1:{s:3:"pod";s:0:"";}"}},"Casino Review - Casino Info":{"id":234,"name":"Casino Review - Casino Info","code":"<div class="casino-info">\r\n[wpsm_tabgroup]\r\n[wpsm_tab title="Available Games"]\r\n<div class="casino-games">\r\n [if casino_games]\r\n [each casino_games]\r\n\t\t\t\t<div class="game">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't have any games</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n\t\r\n[wpsm_tab title="Main Info"]\r\n<div class="main-info">\r\n<div class="row website"><div class="label">Website:</div><div class="value"> <a href="/go/{@main_bonus.post_name}" rel="nofollow" target="_blank">{@website_url}</a></div></div>\r\n<div class="row email"><div class="label">Email:</div><div class="value"> <a href="mailto:{@email}">{@email}</a></div></div>\r\n<div class="row telephone"><div class="label">Telephone:</div><div class="value"> {@telephone}</div></div>\r\n<div class="row established_date"><div class="label">Established Date:</div><div class="value"> {@established_date}</div></div>\r\n<div class="row languages"><div class="label">Languages:</div><div class="value"> {@languages}</div></div>\r\n\r\n<div class="row license"><div class="label">License:</div><div class="value"> {@license}</div></div>\r\n<div class="row live_chat"><div class="label">Live Chat:</div><div class="value"> {@live_chat}</div></div>\r\n\t<div class="row currencies"><div class="label">Currencies:</div><div class="value"> {@currencies}</div></div>\r\n\t<div class="row minimum_deposit"><div class="label">Minimum Deposit:</div><div class="value"> {@minimum_deposit}</div></div>\r\n<div class="row withdrawal_times"><div class="label">Withdrawal Times:</div><div class="value"> {@withdrawal_times}</div></div>\r\n<div class="row withdrawal_limits"><div class="label">Withdrawal Limits:</div><div class="value"> {@withdrawal_limits}</div></div>\r\n</div>\r\n[/wpsm_tab]\r\n\r\n[wpsm_tab title="Payment Methods"]\r\n<div class="payment-methods">\r\n [if payment_methods]\r\n [each payment_methods]\r\n\t\t\t\t<div class="payment">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't have payment options</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n\r\n[wpsm_tab title="Operating Systems"]\r\n<div class="operating-systems">\r\n [if operating_systems]\r\n [each operating_systems]\r\n\t\t\t\t<div class="system">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't support any operation system</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n\r\n[wpsm_tab title="Software"]\r\n<div class="casino-software">\r\n [if casino_software]\r\n [each casino_software]\r\n\t\t\t\t<div class="software">\r\n\t\t\t\t\t<div class="thumbnail">\r\n\t\t\t\t\t\t[if post_thumbnail]\r\n\t\t\t\t\t\t\t<img alt="{@post_title}" height="45px" src="{@post_thumbnail_url.small}">\r\n \t \t\t[else]\r\n\t\t \t <p class"no-images">No image</p>\r\n\t \t\t [/if]\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\t

    {@post_title}</p>\r\n\t\t\t\t</div>\r\n [/each]\r\n [else]\r\n

    This casino doesn't use any casino software</p>\r\n [/if]\r\n</div>\r\n[/wpsm_tab]\r\n[/wpsm_tabgroup]\r\n\r\n</div>","type":"template","slug":"casino-info","options":{"_edit_lock":"1546810330:1","_edit_last":"1","admin_only":"","restrict_capability":"","capability_allowed":"","_wpb_vc_js_status":"false","pod_reference":"a:1:{s:3:"pod";s:4:"post";}"}}}}

    
    ## Workaround or Alternate Solution Until Bug is Addressed
    <!-- We will complete this section, or if you've already found a workaround, -->
    <!-- you can add it here -->
    
    ## Related Issues and/or PRs
    <!-- List related issues or PRs against other branches:  -->
    
  • @justaguy84
    Copy link
    Author

    After debugging a little more, I can see the pods function is causing this:
    pods-php-7 3 notice2

    @sc0ttkclark
    Copy link
    Member

    Note for @pglewis: https://github.com/pods-framework/pods/blob/2.x/classes/PodsData.php#L3243

    We just need to replace that line with:

    $traverse = apply_filters( 'pods_data_traverse', $traverse, $traverse_recurse, $this );

    @justaguy84
    Copy link
    Author

    @sc0ttkclark @pglewis - another place:
    pods-php7 3-3
    pods-php7 3-4

    @pglewis pglewis added the Status: In Progress Issue or PR is currently in progress but not yet done label Feb 19, 2019
    @pglewis
    Copy link
    Contributor

    pglewis commented Feb 19, 2019

    PR started: #5301

    Still need to look at the second spot in Pods->field()

    pglewis added a commit that referenced this issue Mar 4, 2019
    @tomas-eklund
    Copy link

    tomas-eklund commented Mar 12, 2019

    Another place where compact() generates notices is in the pods\classes\PodsAPI.php file.

    Notice: compact(): Undefined variable: custom_fields in {file_name} on line 3553

    Also on lines

    • 3559
    • 3556
    • 3572
    • 4133

    The solution appears simple. Change (starting from line 3404)

    // Find the active fields (loop through $params->data to retain order)
    if ( ! empty( $params->data ) && is_array( $params->data ) ) {
        $custom_fields = array();
        //...
    

    to

    // Find the active fields (loop through $params->data to retain order)
    $custom_fields = array();
    if ( ! empty( $params->data ) && is_array( $params->data ) ) {
        //...
    

    and the notices goes away. (At least in my current case.)

    This issue was closed.
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Status: In Progress Issue or PR is currently in progress but not yet done Status: Reproduced Type: Bug
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants